frontend: fix overflow and margins on small screens #1650
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.39) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 245 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.329
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #1650"
general
weight: 0.35
Sigmanificient
This PR fixes two problems on small screens.
Long attribute names
A long attribute name, such as
linuxKernel.packages.linux_xanmod_latest.cpupower, did not wrap. It made the results column wider than the page on small screens.Option names wrapped already. The
overflow-wrap: anywhererule is now on.search-result-title, which packages and options both use. Long option names continue to wrap. Unlikeword-break: break-all,overflow-wrap: anywherebreaks a word only if the word cannot fit on a line by itself.before
<img width="800" alt="before: the package name goes past the right edge of the page at 800px width" src="https://raw.githubusercontent.com/KiaraGrouwstra/nixos-search/98139cf9af00849c72ee4f0690a1ca170524f0e9/before-800.png" />
after
<img width="800" alt="after: the package name wraps in the results column at 800px width" src="https://raw.githubusercontent.com/KiaraGrouwstra/nixos-search/98139cf9af00849c72ee4f0690a1ca170524f0e9/after-800.png" />
Container width
The
.containerwidth changed in steps:724px,940pxand1170px. Just below each step, the margins took a large part of the screen, for example more than 20% at920px. Now the container fills the screen minus a20pxgutter on each side, to a maximum of1170px. The header uses the same maximum width. Below768px, the layout does not change.before
<img width="920" alt="before: wide empty margins on the left and right of the page at 920px width" src="https://raw.githubusercontent.com/KiaraGrouwstra/nixos-search/c8a9135ad41662b7e78d345a05a232ea54584953/before-920.png" />
after
<img width="920" alt="after: the page content fills the width with a 20px gutter at 920px width" src="https://raw.githubusercontent.com/KiaraGrouwstra/nixos-search/c8a9135ad41662b7e78d345a05a232ea54584953/fluid-920.png" />
Fixes #1649
Assisted-by: Claude:claude-opus-5-5
https://claude.ai/code/session_01RbKyH6Xbm1cpsvGs6fS745