sidebar: add width option to override default size
This commit is contained in:
@@ -4210,7 +4210,7 @@ impl Render for SidebarDemo {
|
||||
"standalone; the app's own left sidebar is this component",
|
||||
colors,
|
||||
div()
|
||||
.w(rems(17.5))
|
||||
.w(rems(15.))
|
||||
.h(rems(22.5))
|
||||
.rounded(radius.control)
|
||||
.border_1()
|
||||
@@ -4260,7 +4260,7 @@ impl Render for SidebarDemo {
|
||||
"custom entries slot user content around the rows",
|
||||
colors,
|
||||
div()
|
||||
.w(rems(17.5))
|
||||
.w(rems(15.))
|
||||
.h(rems(22.5))
|
||||
.rounded(radius.control)
|
||||
.border_1()
|
||||
@@ -4307,7 +4307,7 @@ impl Render for SidebarDemo {
|
||||
"a custom entry fills the list; the right border is off",
|
||||
colors,
|
||||
div()
|
||||
.w(rems(17.5))
|
||||
.w(rems(15.))
|
||||
.h(rems(13.))
|
||||
.rounded(radius.control)
|
||||
.border_1()
|
||||
|
||||
Reference in New Issue
Block a user