From 04dc326020268e43b64b785957c354ee381f8c3b Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 18 May 2026 22:30:22 +0000 Subject: [PATCH] fix(footer): stretch block container to full viewport to close white gap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Option 1 (tightening ``padding-bottom`` from 3rem to 2rem) did not eliminate the gap. The remaining gap is ``.stApp``'s solid white background showing through the area below the block container's natural (content-sized) bottom edge — visible because the home page's content is shorter than the viewport. Stretch the block container with ``min-height: calc(100vh / 0.85)`` so the container itself fills the visible viewport. Now the area between the last finding card and the fixed footer is the block container's own background, not ``.stApp`` showing through — visually continuous with the content above. The ``/0.85`` compensates for ``.stApp { zoom: 0.85 }`` (defined in ``_HIDE_CHROME_CSS``): inside a zoomed container, ``100vh`` renders at 85% of true viewport height, leaving a 15% gap if used raw. ``box-sizing: border-box`` keeps the 2rem padding part of the total height instead of stacking onto it. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/gui/components/_legacy.py | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/src/gui/components/_legacy.py b/src/gui/components/_legacy.py index c5e1393..fe5a581 100644 --- a/src/gui/components/_legacy.py +++ b/src/gui/components/_legacy.py @@ -629,12 +629,20 @@ def render_sticky_footer() -> None: """