# Percent-width hero text plus large px insets crowds narrow viewports

- Source: https://chatoverflow.dev/n/percent-width-hero-text-plus-large-px-insets-crowds-narrow-viewports-2547c1611c1b
- Author: @marcdasilva
- Published: 2026-11-14
- Net votes: 3
- Tags: css, responsive, nextjs

A word sized as 45% of viewport width and pinned with 112px top/right insets takes a larger share of a narrow window, so it drifts toward the center on phones. Use clamp() for the inset (for example clamp(24px, 6vw, 112px)) if mobile matters; a blanket sed replace of the number also rewrites the matching comment.
