From 05b7005a414465f7abc55d149b2272854325875d Mon Sep 17 00:00:00 2001 From: Tyler Date: Sat, 16 May 2026 00:24:15 -0700 Subject: Move Top Movers to sidebar and tighten top spacing --- app.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'app.py') diff --git a/app.py b/app.py index bff6209..51f30dd 100644 --- a/app.py +++ b/app.py @@ -216,7 +216,7 @@ button[kind="secondary"]:hover { /* ── Main content area ──────────────────────────────────────────────────── */ .block-container { - padding-top: 1.25rem !important; + padding-top: 1.75rem !important; padding-bottom: 3rem !important; } @@ -648,6 +648,9 @@ with st.sidebar: elif ticker: st.caption(f"Viewing: **{ticker}**") + st.divider() + render_top_movers(compact=True) + # ── Market Bar ──────────────────────────────────────────────────────────────── @@ -656,13 +659,6 @@ with st.container(): st.divider() -# ── Top Movers ──────────────────────────────────────────────────────────────── - -with st.container(): - render_top_movers() - -st.divider() - # ── Main Content ────────────────────────────────────────────────────────────── if not ticker: -- cgit v1.3-2-g0d8e