Repository navigation
Fix mobile horizontal overflow and search button sizing on home page - #191
Conversation
The checker's verdict block kept a 240px minimum width, which is wider than the panel's content at 320px, so the page scrolled sideways again once a package was checked. The .omni-title-wrap rule in the 640px block repeated the new base rule. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Thanks @An-2k5, this is a careful fix: the We've made these changes so it can go in:
It'll merge once a final review passes. (Review assisted by Claude.) |
|
Merged, thank you @An-2k5, and welcome! Giving the split grid's children If you'd like another one on the same page, #178 has no PR yet: giving accessible names to the buttons that only show a symbol (pagination arrows, row toggles, export tiles, theme toggle). You already know the home page's markup and CSS, so it should be a natural next step. (Review assisted by Claude.) |
Fixes #177
Summary
Fixed mobile horizontal overflow (WCAG 1.4.10 Reflow) and topbar search button sizing on narrow viewports (320px and 375px) in
site/home.css:min-width: 0to.content-split-grid > *so the1frcolumn shrinks below the gaps table's min-content width, allowing.table-wrapperto scroll horizontally without widening the page.flex-wrap: wrapto.pagination-controlsso multi-page controls wrap cleanly on narrow screens while preserving first/previous/next/last buttons..omni-title-wrapto wrap (flex-wrap: wrap; min-width: 0) so the badge and heading fit within narrow headers.flex: 0 0 36pxto.cmd-triggerunder@media (max-width: 640px)to override the baseflex: 1rule and keep it36×36alongside.action-btn.Verification
document.documentElement.scrollWidth === window.innerWidthistrueat both 320px and 375px on initial load, after switching platform cards, and on page 2 of the gaps table.#cmd-triggerstays36×36at 375px and opens the search dialog.Screenshots
Desktop (1280px — After):
