You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[scanner] hero title clipped on 320px viewports since nowrap (#361) #364
Since #361 (2d66f10), .factory-title uses white-space: nowrap with font-size: clamp(1.9rem, 5.2vw, 4rem) (style.css:152). At the 1.9rem floor the heading "Great software, built fast." measures ≈330px wide in IBM Plex Sans 600 with the -0.02em tracking (advance widths summed from assets/fonts/IBMPlexSans-normal-600.woff2).
The .wrap content box at a 320px viewport is 320 - 2 × clamp(1rem, 4vw, 2.5rem) = 288px, and body { overflow-x: hidden } (style.css:102) suppresses the horizontal scrollbar, so the right edge of the title (roughly the trailing "st.") is clipped on 320px-wide phones (iPhone SE 1st gen / 5s class). At 360px the title fits with ~1px to spare; at 375px and above it is fine.
Expected
The one-line hero title stays fully visible down to the 320px viewport the rest of the layout already supports (@media rules at style.css:162-166 target that width).
Suggested fix (one line)
Lower the clamp floor so the title fits 288px: font-size: clamp(1.65rem, 5.2vw, 4rem) (1.65rem → ≈286px), or alternatively drop white-space: nowrap below a 360px media query so the title may wrap only on the narrowest phones. Either keeps the one-line intent of #361 on every common viewport.
Evidence
$ python3 -c "from fontTools.ttLib import TTFont; ..." # sum of hmtx advances for the title string
font px 30.4 width px 330
Nothing in scripts/*.test.mjs measures rendered text width, so this class is not gated; this is a single instance, not a gate proposal.
Activity
hivecommons-hive commentedon Nov 5, 2026
🔓 Claim by @Karibhou released (lease revoked).
Claim history
Karibhou(contributor on hive hosted-available-oke-11-placeholder-r05x)Karibhou(contributor; lease revoked)hero: prevent title clipping on narrow screens (#365)