From efd1cb7b3b4c1a2bffb50f153b10188c1a7cf597 Mon Sep 17 00:00:00 2001 From: Justin Ko Date: Wed, 9 Sep 2026 22:12:20 +0900 Subject: [PATCH] fix(dashboard): refine metric and button styling --- dashboard/common.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dashboard/common.py b/dashboard/common.py index b238d23..60abf90 100644 --- a/dashboard/common.py +++ b/dashboard/common.py @@ -277,8 +277,8 @@ def inject_app_css() -> None: div[data-testid="stMetric"] { background: rgba(255,255,255,0.84); border: 1px solid rgba(226, 232, 240, 0.92); - border-radius: 20px; - padding: 1rem 1.05rem; + border-radius: 10px; + padding: 1rem 1rem; box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06); } div[data-testid="stMetric"] label { @@ -288,6 +288,7 @@ def inject_app_css() -> None: div[data-testid="stMetricValue"] { color: var(--jarca-navy); letter-spacing: -0.04em; + font-size: 1rem; } div[data-testid="stDataFrame"], div[data-testid="stDataFrameResizable"] { border-radius: 18px; @@ -303,7 +304,7 @@ def inject_app_css() -> None: box-shadow: 0 14px 32px rgba(15, 23, 42, 0.055); } .stButton > button { - border-radius: 14px; + border-radius: 10px; font-weight: 750; border-color: rgba(148, 163, 184, 0.32); transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;