Repository navigation
The report's wide charts scroll instead of escaping - #32
Merged
Merged
Conversation
A table never shrinks below its content and a histogram column never shrinks below its count label, so in a narrow window the cross-tab and the hours histogram painted straight through the panel border. Both now live in a sideways-scrolling strip, and the cross-tab's question headers wrap over a fixed column width instead of demanding every question laid end to end. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0119U4sRRWGcTQdwYreTwpAp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Spotted on the QA site: in a narrow analytics window the cross-tab's bars painted straight through the panel border and off the edge of the window, and the new 40-bucket hours histogram could do the same.
Why
white-space: nowrapwhole questions — six metric columns demanded every question laid end to end.Fix
.atfa-scrollwrapper (overflow-x: auto) around the cross-tab and every histogram: the panel keeps its edge, the content keeps its size, and the strip between them scrolls.min-inline-size: 140pxmetric column instead of nowrap, so the table stays readable long before the scroll has to take over.Verified on 8889
Squeezed the analytics window narrow and measured every panel: zero elements past any panel edge (was: bars bleeding through), the cross-tab scrolls 188px to its hidden columns, and the hours histogram carries its 102px of overflow inside its own scroller.
353 vitest green, build deployed.
🤖 Generated with Claude Code
https://claude.ai/code/session_0119U4sRRWGcTQdwYreTwpAp