From 3d2faae76361bcaa5d8674d041ca61f5d036da3f Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Wed, 4 Feb 2026 07:52:18 +0000 Subject: [PATCH] Fix left navigation scroll behavior on settings pages - Add sticky positioning to LeftNav component with CSS media query - Use position: sticky with top: 0 on md+ screens (768px breakpoint) - Add align-self: flex-start to ensure sticky works with flex containers - Update settings layouts to use items-start alignment for proper flex behavior - Use CSS media queries instead of responsive @apply variants to avoid PostCSS parsing errors - Apply changes to organization settings, project settings, and users management pages This replicates the Vercel-style behavior where the page header scrolls away but the left navigation stays fixed at the top of the viewport. Co-authored-by: ericokuma --- web-admin/src/components/nav/LeftNav.svelte | 14 +++++++++++--- .../[organization]/-/settings/+layout.svelte | 14 ++++++++++---- .../routes/[organization]/-/users/+layout.svelte | 16 ++++++++++++---- .../[project]/-/settings/+layout.svelte | 16 ++++++++++++---- 4 files changed, 45 insertions(+), 15 deletions(-) diff --git a/web-admin/src/components/nav/LeftNav.svelte b/web-admin/src/components/nav/LeftNav.svelte index 241c65e22fe..6c160fadf26 100644 --- a/web-admin/src/components/nav/LeftNav.svelte +++ b/web-admin/src/components/nav/LeftNav.svelte @@ -12,7 +12,7 @@ }[]; -