Tweak error overlay nav overflow#94154
Conversation
Failing test suitesCommit: d9166c8 | About building and testing Next.js
Expand output● instant-navigation-testing-api › renders runtime-prefetched content instantly during navigation
Expand output● instant-nav-panel › transitions between capture types › should avoid showing stale SPA state when reloading from a captured SPA state into captured MPA state
Expand output● instant-nav-panel › transitions between capture types › should avoid showing stale SPA state when reloading from a captured SPA state into captured MPA state |
Stats skippedCommit: d9166c8 |
c39ea1f
into
vercel:aurorascharff/instant-insights-tab
What?
Tweaks the mobile behavior of the error overlay nav so the controls can scroll horizontally without breaking the version badge into multiple lines.
CleanShot.2026-05-27.at.11.20.27.mp4
Why?
On narrow screens the nav content can overflow, and the Next.js version badge was wrapping internally instead of staying intact while the nav scrolled.
How?
white-space: nowrapVerification
pnpm prettier --check packages/next/src/next-devtools/dev-overlay/components/errors/error-overlay-nav/error-overlay-nav.tsx packages/next/src/next-devtools/dev-overlay/components/version-staleness-info/version-staleness-info.tsxpnpm --filter=next types(not needed for these CSS-only tweaks)