add app layout shell to the layout crate

This commit is contained in:
2026-11-02 08:53:18 +07:00
parent 3e03137d1c
commit aa40003a37
15 changed files with 697 additions and 11 deletions
+3
View File
@@ -175,6 +175,8 @@ impl RenderOnce for Sidebar {
.clone()
.unwrap_or_else(|| SharedString::from(self.id.to_string()));
let id_text = self.id.to_string();
// Entry paint reads the theme through this borrow.
let children: Vec<AnyElement> = entries
.iter()
@@ -194,6 +196,7 @@ impl RenderOnce for Sidebar {
div()
.id(self.id)
.debug_selector(move || format!("sidebar-{id_text}"))
.flex()
.flex_col()
.gap_0p5()