From 5daae9e5fa1577766bc145f30917b7008a4909a1 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 18 May 2026 22:09:21 +0000 Subject: [PATCH] test(footer): move marker out of footer into main content flow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit User confirmed the previous marker landed inside the Help/Close sticky footer — which is NOT the offending white bar. They want the sticky footer kept; the white strip they're trying to remove sits *above* the footer in the main content area. Move the marker out of ``#datatools-sticky-footer`` and render it via ``st.markdown`` immediately before the ``st.iframe`` call that injects the footer. That places it at the very bottom of ``stAppViewBlockContainer`` — exactly where the iframe wrapper (``stElementContainer``) and the block container's ``padding-bottom: 3rem`` reservation live. Styled as a red dashed banner so it's unmistakable. If it lines up with the white strip clipping text on scroll, one of those two is the culprit and the next commit can target it. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/gui/components/_legacy.py | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/src/gui/components/_legacy.py b/src/gui/components/_legacy.py index b1f5094..e1b6f58 100644 --- a/src/gui/components/_legacy.py +++ b/src/gui/components/_legacy.py @@ -787,6 +787,22 @@ a[data-testid="stPageLink-NavLink"][href*="close"] { except Exception: pass + # TEMP: visible marker in the main content flow, immediately before + # the footer-injection iframe. This lands at the very bottom of + # ``stAppViewBlockContainer`` — right where the user reports a + # white strip clipping text when scrolling. If this red bar lines + # up with the offending strip, the strip is the iframe wrapper + # (``stElementContainer`` around ``st.iframe``) or the block + # container's ``padding-bottom: 3rem`` reservation. + st.markdown( + '
' + '◀ CLAUDE TEST #2 — IS THIS THE WHITE BAR? ▶' + '
', + unsafe_allow_html=True, + ) + st.iframe( f"""