From 960c85461104326e6c78e71d7fe128a8d2bef541 Mon Sep 17 00:00:00 2001 From: Zaldimmar Date: Sun, 27 Sep 2026 15:36:02 -0500 Subject: [PATCH] Keep the editor's section nav in view while scrolling The nav was sticky inside a wrapper only as tall as itself, so it had nowhere to travel and scrolled away. The grid cell now sticks instead, and the mobile "Jump to" bar sits straight in the page for the same reason. Co-Authored-By: Claude Opus 5.5 --- src/components/admin/SectionNav.tsx | 7 ++++--- src/pages/admin/EntityEdit.tsx | 10 ++++++---- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/components/admin/SectionNav.tsx b/src/components/admin/SectionNav.tsx index 9ef994a..8a11e1e 100644 --- a/src/components/admin/SectionNav.tsx +++ b/src/components/admin/SectionNav.tsx @@ -80,12 +80,13 @@ function Label({ section }: { section: EditorSection }) { ); } -/* The desktop column. Place it in the grid's first track. */ +/* The desktop column. Place it in the grid's first track, in a cell + that is itself sticky (see EntityEdit). */ export function SectionNav({ sections }: { sections: EditorSection[] }) { const active = useActiveSection(sections); return ( -