diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-12 18:38:52 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-12 18:38:52 +0100 |
| commit | cb2de728a3af8b35997e82796fcd45799b17ad47 (patch) | |
| tree | 419f326032be26bc8992ebc401bf0607f4511da6 | |
| parent | b9410a1c40f6d4e871f68c5f397000d64769a41b (diff) | |
| download | deck-it-cb2de728a3af8b35997e82796fcd45799b17ad47.tar.gz deck-it-cb2de728a3af8b35997e82796fcd45799b17ad47.zip | |
fix(dashboard): scroll the spending card beside the running row
With the running row shown, the spending card is too short for both
programs and the second one was clipped. It now scrolls while the row
is present.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
| -rw-r--r-- | static/deck.css | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/static/deck.css b/static/deck.css index 328d201..74cf147 100644 --- a/static/deck.css +++ b/static/deck.css @@ -701,6 +701,9 @@ select { background: var(--udt-mantle); border: 1px solid var(--udt-surface1); } .dash-music { flex: 1; } .dash-spend { flex: 1.4; display: flex; flex-direction: column; gap: 10px; } +/* With the running row present the spending card is too short for both + programs: it scrolls instead of clipping the second one. */ +.dash-mid:has(.dash-running:not([hidden])) .dash-spend { overflow-y: auto; overscroll-behavior: contain; } .dash-music .music .top { margin-bottom: 6px; } .dash-music .music .art { width: 52px; height: 52px; border-radius: 10px; } .dash-music .music .title { font-size: 1rem; } |
