From 06e354e8eca07ec73470341fd5f2e9cfa2d0c62f Mon Sep 17 00:00:00 2001 From: matteoscrugli Date: Tue, 23 Dec 2025 23:35:59 +0100 Subject: [PATCH] Make tab bar sticky when at top position MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add position: sticky, top: 0, z-index and background to tab container so it stays visible while scrolling (bottom position already uses fixed) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- frontend/src/styles/Layout.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/styles/Layout.css b/frontend/src/styles/Layout.css index 34ec36d..e3a1fc4 100644 --- a/frontend/src/styles/Layout.css +++ b/frontend/src/styles/Layout.css @@ -35,6 +35,10 @@ display: flex; justify-content: center; padding: 0.75rem; + position: sticky; + top: 0; + z-index: 100; + background: var(--color-bg-main); } /* Ensure no extra margin from body */