aboutsummaryrefslogtreecommitdiff
path: root/app.py
diff options
context:
space:
mode:
authorTyler <tyler@tylerhoang.xyz>2026-05-13 23:22:55 -0700
committerTyler <tyler@tylerhoang.xyz>2026-05-13 23:22:55 -0700
commit64ea2681ceb403f021d13c39931f67321d11425b (patch)
treeebf242c6739ae4d58f7794916b3cb40534eeff39 /app.py
parenta457bea95358825e55dbc7f48d57183004121109 (diff)
Redesign DCF tab — inspector rail layout with HTML canvas
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 <noreply@anthropic.com>
Diffstat (limited to 'app.py')
-rw-r--r--app.py3
1 files changed, 3 insertions, 0 deletions
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;
}