sidebar: add width option to override default size

This commit is contained in:
2026-11-16 04:36:05 +07:00
parent 0fda22caf7
commit 08dda223e5
2 changed files with 19 additions and 6 deletions
+3 -3
View File
@@ -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()