Skip to content

Conversation

@ethanndickson
Copy link
Member

The costs sidebar had a spurious horizontal scrollbar appearing when the auto-compaction threshold slider was at 70% or higher.

Root Cause

The threshold slider's drag handle is 32px wide, positioned at calc(threshold% - 16px). At high threshold values, the right edge extends beyond the container. The parent div lacked overflow-hidden, so it caused horizontal overflow.

Fix

Add overflow-hidden to the container div that holds the TokenMeter and HorizontalThresholdSlider.


Generated with mux • Model: anthropic:claude-opus-4-5 • Thinking: high

The threshold slider's drag handle (32px wide) was overflowing the
container when positioned at 70%+ threshold. Add overflow-hidden to
the parent container to clip the overflow.
@ethanndickson ethanndickson added this pull request to the merge queue Dec 29, 2025
Merged via the queue into main with commit 7815a10 Dec 29, 2025
20 checks passed
@ethanndickson ethanndickson deleted the costs-sidebar-0g93 branch December 29, 2025 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant