fix: make stats panel scrollable when content overflows
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 59s
CI / Lint & Test (pull_request) Successful in 16m16s
CI / Build Linux (pull_request) Successful in 21m20s
CI / Build Windows (cross-compile) (pull_request) Successful in 30m32s

The stats panel in StatusBar could grow too long when all sections
(Tools Used, Historical Costs, Budget tracking) were expanded, causing
content to overflow off the bottom of the screen.

Added max-height and overflow-y-auto to the stats container to ensure
it stays within the viewport and can be scrolled when needed.

Fixes: #136
This commit is contained in:
2026-02-07 20:16:41 -08:00
committed by Naomi Carrigan
parent 20aa590a7a
commit 5149d457b8
+1 -1
View File
@@ -696,7 +696,7 @@
<!-- svelte-ignore a11y_click_events_have_key_events -->
<!-- svelte-ignore a11y_no_static_element_interactions -->
<div class="fixed inset-0 z-40" onclick={() => (showStats = false)}></div>
<div class="fixed top-14 right-4 z-50">
<div class="fixed top-14 right-4 z-50 max-h-[calc(100vh-4rem)] overflow-y-auto">
<StatsDisplay
onRequestSummary={handleCompactConversation}
onStartFreshWithContext={handleStartFreshWithContext}