From 1eda386ef4cd737d3fe2109159cf3d76cd67c190 Mon Sep 17 00:00:00 2001 From: matteoscrugli Date: Tue, 23 Dec 2025 22:02:20 +0100 Subject: [PATCH] Fix extra empty space at bottom of pages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove min-height from main-content - Remove flex: 1 from page-content and admin-tab-swipe - Content areas no longer expand to fill viewport height 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- frontend/src/styles/Layout.css | 5 ----- 1 file changed, 5 deletions(-) diff --git a/frontend/src/styles/Layout.css b/frontend/src/styles/Layout.css index f4210ba..c6c443e 100644 --- a/frontend/src/styles/Layout.css +++ b/frontend/src/styles/Layout.css @@ -17,8 +17,6 @@ .main-content { flex: 1; margin-left: var(--sidebar-width); - min-height: 100vh; - min-height: 100dvh; display: flex; flex-direction: column; transition: margin-left 0.3s ease; @@ -396,7 +394,6 @@ label, /* Main content wrapper - with symmetric padding from sidebar edge to window edge */ .page-content { - flex: 1; padding: var(--page-padding-y) var(--page-padding-x) 0; width: 100%; max-width: var(--page-max-width); @@ -667,8 +664,6 @@ label, width: 100%; max-width: none; margin: 0; - flex: 1 1 auto; - min-height: 0; } /* Swipeable tab panels */