fix: improve sidebar layout with scrollable sections and bottom-pinned admin
All checks were successful
CI / cleanup-branch (push) Has been skipped
CI / build (push) Successful in 2m1s
CI / docker (push) Successful in 2m25s
CI / deploy-feature (push) Has been skipped
CI / deploy (push) Successful in 43s

- Applications section: maxHeight 50vh with scroll overflow
- Starred section: maxHeight 30vh with scroll overflow
- Admin section: pinned to bottom of sidebar via position="bottom"
- Update design-system to 0.1.54 (sidebar section maxHeight, position props)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-15 22:09:10 +02:00
parent e4b8f1bab4
commit 64af49e0b5
3 changed files with 8 additions and 5 deletions

View File

@@ -754,6 +754,7 @@ function LayoutContent() {
label="Applications"
open={appsOpen}
onToggle={toggleApps}
maxHeight="50vh"
>
<SidebarTree
nodes={appTreeNodes}
@@ -775,6 +776,7 @@ function LayoutContent() {
label="Starred"
open={starredOpen}
onToggle={() => setStarredOpen((v) => !v)}
maxHeight="30vh"
>
<StarredList
items={starredItems}
@@ -792,6 +794,7 @@ function LayoutContent() {
open={adminOpen}
onToggle={toggleAdmin}
active={isAdminPage}
position="bottom"
>
<SidebarTree
nodes={adminTreeNodes}