Make the library page header (title + search bar) fully sticky #14
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/library-sticky-header"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
views/librarywas already sticky on its own; the page title above it still scrolled away. They're now wrapped in one.libraryHeadersticky block, so both stay visible together while the grid scrolls underneath.views/libraryonly (.pageHeaderis shared withviews/home, which stays non-sticky;views/artist/views/albummoved to their own hero headers a while back)..mobileTopBargot a fixedheight: var(--mobile-topbar-h)so the library header has something reliable to stack against.Test plan
npm run typecheck(client) — cleannpm run build(client) — cleanapp.css+ real markup loaded into two independent-viewport<iframe>s (1000px / 375px — this sandbox'sresize_windowviewport emulation is unreliable), scrolled deep into a grid: title + search bar stay pinned at the top with an opaque background (no tiles showing through) on both sizes, and on the 375px frame the header's top edge lands exactly at the mobile top bar's bottom edge with zero overlap.🤖 Generated with Claude Code