From 64ea2681ceb403f021d13c39931f67321d11425b Mon Sep 17 00:00:00 2001 From: Tyler Date: Wed, 13 May 2026 23:22:55 -0700 Subject: Redesign DCF tab — inspector rail layout with HTML canvas MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replaces the flat column layout with a two-column inspector design: left rail holds four st.slider inputs + "From the filings" reference panel + Reset/Recompute actions; right canvas renders verdict hero, projection card (Plotly.js bar chart + cash-flow table), EV bridge, per-share recon, and cross-check via a single components.v1.html block. Also fixes primary button text color app-wide by targeting the modern Streamlit selector (stBaseButton-primary) alongside the legacy one. Co-Authored-By: Claude Sonnet 4.6 --- app.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app.py') diff --git a/app.py b/app.py index d5e082a..243bdcf 100644 --- a/app.py +++ b/app.py @@ -144,6 +144,7 @@ html, body, [class*="css"] { /* ── Buttons ────────────────────────────────────────────────────────────── */ button[kind="primary"], +[data-testid="stBaseButton-primary"], [data-testid="stFormSubmitButton"] button { background: var(--brass) !important; color: var(--brass-ink) !important; @@ -158,8 +159,10 @@ button[kind="primary"], } button[kind="primary"]:hover, +[data-testid="stBaseButton-primary"]:hover, [data-testid="stFormSubmitButton"] button:hover { background: var(--brass-bright) !important; + color: var(--brass-ink) !important; border: none !important; } -- cgit v1.3-2-g0d8e