Skip to content

Keep navbar type readable on small screens - #174

Draft
injoon5 wants to merge 2 commits into
mainfrom
cursor/navbar-mobile-text-size-93fd
Draft

Keep navbar type readable on small screens#174
injoon5 wants to merge 2 commits into
mainfrom
cursor/navbar-mobile-text-size-93fd

Conversation

@injoon5

@injoon5 injoon5 commented Aug 3, 2026

Copy link
Copy Markdown
Owner

Problem

On viewports below sm, navbar links dropped to text-sm (14px) and the wordmark to text-xl (20px) so four links would fit. That made the nav feel too small on phones.

Fix

  • Keep link type at text-base and wordmark at text-2xl at every width
  • Still let the wordmark truncate (min-w-0) before the links wrap (shrink-0)
  • Remove leftover body padding for the old mobile floating dock

Testing

Verified on /blog at 375px and 320px:

Viewport Wordmark Links Layout
375px 24px, fully visible 16px clean
320px 24px, truncates with ellipsis 16px, all four fit no wrap/overflow

Navbar at 375px
Navbar at 320px

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

cursoragent and others added 2 commits August 3, 2026 11:37
Use text-2xl / text-base at all breakpoints so links and the
wordmark stay readable on phones; wordmark still yields via
min-w-0 + truncate. Remove obsolete mobile floating-dock body padding.

Co-authored-by: Injoon Oh <injoon5@icloud.com>
Co-authored-by: Injoon Oh <injoon5@icloud.com>
@vercel

vercel Bot commented Aug 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
web Ready Ready Preview Aug 3, 2026 11:40am

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