Skip to content

refactor(mobile): make typography scale desktop-only, revert to pre-bump sizes on mobile#105

Merged
d3mocide merged 1 commit into
mainfrom
claude/mobile-env-page-spacing-x334wp
Jun 11, 2026
Merged

refactor(mobile): make typography scale desktop-only, revert to pre-bump sizes on mobile#105
d3mocide merged 1 commit into
mainfrom
claude/mobile-env-page-spacing-x334wp

Conversation

@d3mocide

Copy link
Copy Markdown
Owner

Summary

  • The app-wide font size bump from commit 021ea36 (all labels → 11px) was cramping the ENV page on mobile viewports
  • All bumped sizes now use Tailwind's lg: responsive prefix so the larger values only apply at ≥1024px; mobile reverts to the pre-bump values
  • index.css global utilities (app-wide): label-caps, nav-link, nav-link-active, section-heading, btn-ghosttext-[10px] lg:text-[11px]; status-pilltext-[9px] lg:text-[11px]
  • All 12 env panel components: inline sizes restored to their original mobile values (7–10px depending on context) with lg: prefix for desktop

Test plan

  • Load ENV tab on a real mobile device or browser devtools at 390px width — labels, hazard cards, weather/METAR/PWS sub-cards should feel less crowded
  • Verify the same page at ≥1024px still shows the larger 11px text
  • Spot-check nav links, section headings, and ghost buttons on mobile — should be 10px
  • TypeScript: npx tsc --noEmit passes ✅

https://claude.ai/code/session_01VZU1W6U1Gc4pNujg9CQ7UH


Generated by Claude Code

The app-wide font size bump (021ea36) used 11px uniformly for all label
and metadata text, which reads fine on desktop but feels cramped on
narrow mobile viewports.

Add lg: responsive breakpoints so the larger sizes only apply at ≥1024px.
Mobile reverts to the pre-bump values (7–10px depending on context).

- index.css: label-caps, nav-link/active, section-heading, btn-ghost → text-[10px] lg:text-[11px]; status-pill → text-[9px] lg:text-[11px]
- All 12 env panel components: inline sizes restored to original mobile values with lg: prefix for desktop

https://claude.ai/code/session_01VZU1W6U1Gc4pNujg9CQ7UH
@d3mocide d3mocide marked this pull request as ready for review June 11, 2026 20:43
@d3mocide d3mocide merged commit 90d9de3 into main Jun 11, 2026
6 checks passed
@d3mocide d3mocide deleted the claude/mobile-env-page-spacing-x334wp branch June 11, 2026 20:43
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.

2 participants