From 5880abdd93e059a5f23d21a45c207a566ba5b699 Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Thu, 2 Apr 2026 22:32:53 +0200 Subject: [PATCH] fix: keep admin section in place, don't move to top Admin section stays in its fixed position (after Starred, before Footer). Entering admin mode collapses Applications and Starred but does not reorder sections. Co-Authored-By: Claude Opus 4.6 (1M context) --- ui/src/components/LayoutShell.tsx | 52 +++++++++++++------------------ 1 file changed, 21 insertions(+), 31 deletions(-) diff --git a/ui/src/components/LayoutShell.tsx b/ui/src/components/LayoutShell.tsx index 01f36eb3..e0a2ed4f 100644 --- a/ui/src/components/LayoutShell.tsx +++ b/ui/src/components/LayoutShell.tsx @@ -502,28 +502,6 @@ function LayoutContent() { title="Cameleer" /> - {/* Admin section — shown at top when on admin pages */} - {isAdminPage && ( - - - - )} - {/* Applications section */} )} - {/* Footer — Admin + API Docs */} + {/* Admin section — stays in place, expands when on admin pages */} + + + + + {/* Footer */} - {!isAdminPage && ( - navigate('/admin/rbac')} - /> - )}