From 48cb802dfbbd5123a82e69c2db5c44fa2d9757c3 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 18 May 2026 22:06:56 +0000 Subject: [PATCH] test(footer): inject visible marker into #datatools-sticky-footer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The user reports a "white bar/box" at the bottom of the main content area that clips text when scrolling. The DOM inspector found only one fixed-position white element near the viewport bottom — ``#datatools-sticky-footer`` (bg ``rgba(255,255,255,0.97)``, ~33px tall) — so this is my best candidate for what they're seeing. Append a red marker span "◀ CLAUDE TEST: is this the white bar you want removed? ▶" inside the footer div so the user can visually confirm. If the text shows up where they see the offending white bar, the footer is the right target; if the bar is somewhere else, this confirms it's a different element. Temporary — to be reverted in the next commit either way. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/gui/components/_legacy.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/gui/components/_legacy.py b/src/gui/components/_legacy.py index 18e5401..b1f5094 100644 --- a/src/gui/components/_legacy.py +++ b/src/gui/components/_legacy.py @@ -814,6 +814,16 @@ a[data-testid="stPageLink-NavLink"][href*="close"] { closeBtn.type = 'button'; closeBtn.className = 'datatools-footer-btn close'; closeBtn.textContent = labels.close; + + // TEMP: visible marker so the user can confirm whether + // ``#datatools-sticky-footer`` is the "white bar" they want + // removed. To be deleted once identification is confirmed. + var marker = doc.createElement('span'); + marker.textContent = + '◀ CLAUDE TEST: is this the white bar you want removed? ▶'; + marker.style.cssText = + 'color:#b00020;font-weight:700;font-size:12px;' + + 'margin-left:0.6rem;font-family:system-ui,sans-serif;'; // Soft-nav via the hidden ``st.page_link`` that // ``render_sticky_footer`` injects. Streamlit owns its click // handler and will route through ``st.switch_page`` (same @@ -848,6 +858,7 @@ a[data-testid="stPageLink-NavLink"][href*="close"] { div.appendChild(helpBtn); div.appendChild(closeBtn); + div.appendChild(marker); var pop = doc.createElement('div'); pop.id = 'datatools-help-popover';