From 61b0e7833d74f12e798882cba2d40fbbff1fe01f Mon Sep 17 00:00:00 2001 From: matteoscrugli Date: Tue, 23 Dec 2025 23:39:21 +0100 Subject: [PATCH] Make main-content the scroll container for sticky tabs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add overflow-y: auto and height: 100vh/100dvh to .main-content so that position: sticky works on the tab bar container 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- frontend/src/styles/Layout.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/styles/Layout.css b/frontend/src/styles/Layout.css index e3a1fc4..5d5f167 100644 --- a/frontend/src/styles/Layout.css +++ b/frontend/src/styles/Layout.css @@ -20,6 +20,9 @@ display: flex; flex-direction: column; transition: margin-left 0.3s ease; + overflow-y: auto; + height: 100vh; + height: 100dvh; } /* Adjust main content when sidebar is collapsed */