demo: header as always-visible top bar with scrollable body beneath (closest to sticky in Iced)

This commit is contained in:
Glint Dev
2026-07-22 14:44:28 +03:00
parent 37a0ea47be
commit 075533db6a
2 changed files with 11 additions and 1 deletions

View File

@@ -60,6 +60,13 @@ Panel {
}
// ── Layout ───────────────────────────────────────────────────────────────────
.body-scroll {
overflow-y: auto
flex-grow: 1
padding: 0px
gap: 0px
}
.body {
direction: horizontal
padding: 12px