Skip to content

fix(frontend): enlarge mobile bottom nav labels to 12px - #225

Merged
usehoplite[bot] merged 1 commit into
mainfrom
hoplite/melos-3e243a32
Sep 2, 2026
Merged

fix(frontend): enlarge mobile bottom nav labels to 12px#225
usehoplite[bot] merged 1 commit into
mainfrom
hoplite/melos-3e243a32

Conversation

@usehoplite

@usehoplite usehoplite Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Summary

During a UX audit of the core flows (registration, onboarding, composer/publications, media, settings, mobile navigation), the mobile bottom navigation labels stood out as the highest-impact verified papercut: they rendered at 10px (text-[0.625rem]), below the practical minimum readable size for primary navigation, and violated the app's own 44px-touch-target-with-readable-label bar at phone widths.

This PR raises both nav item labels (including "More") to text-xs (12px) with leading-4 (16px) line height. Touch targets are unchanged at 56px height, already above the 44px minimum.

Scope decision

Other sub-12px text usages exist (text-[11px], text-[10px]) in account-management, analytics chart, day-posts modal, feedback dialog, growth profile card, and instance metrics cells. Those are secondary metadata and badge contexts rather than primary navigation, and per audit several are acceptable at their current size; they are deliberately left out of this focused fix.

Verification

Verified with Playwright against the running dev server, measuring computed styles on the live DOM in the authenticated app:

Width Theme Label font-size Line height Button height
390px light 12px 16px 56px
320px light 12px 16px 56px
390px dark 12px 16px 56px
320px dark 12px 16px 56px

After state at 390px light:

after 390 light

Before state at 390px (10px labels) was captured prior to the change. Pixel-level inspection was not performed; the measurements above are computed-style evidence from the rendered DOM.

At ≥768px the nav is hidden by md:hidden, so desktop layout is unaffected.

  • bun run check:frontend:types — pass
  • bun run lint frontend (oxlint + eslint svelte) — pass; root lint fails only because golangci-lint is not installed in this sandbox (backend untouched)
  • bun run check:frontend:i18n — pass

A changelog fragment was added at changes/mobile-nav-label-size.md per repo convention.

Open in Hoplite

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 2, 2026

Copy link
Copy Markdown

Deploying openpost-marketing with  Cloudflare Pages  Cloudflare Pages

Latest commit: 969d5ed
Status: ✅  Deploy successful!
Preview URL: https://8eebe4b8.openpost-marketing.pages.dev
Branch Preview URL: https://hoplite-melos-3e243a32.openpost-marketing.pages.dev

View logs

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying openpost-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 969d5ed
Status: ✅  Deploy successful!
Preview URL: https://97a40336.openpost-docs.pages.dev
Branch Preview URL: https://hoplite-melos-3e243a32.openpost-docs.pages.dev

View logs

@usehoplite
usehoplite Bot merged commit cb324cf into main Sep 2, 2026
22 checks passed
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.

0 participants