Skip to content

fix(docs): remove extra scrollbar in landing hero - #397

Merged
onmax merged 1 commit into
nuxt-modules:mainfrom
Axyl1410:fix/hero-extra-scrollbar
Aug 20, 2026
Merged

fix(docs): remove extra scrollbar in landing hero#397
onmax merged 1 commit into
nuxt-modules:mainfrom
Axyl1410:fix/hero-extra-scrollbar

Conversation

@Axyl1410

@Axyl1410 Axyl1410 commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Replace overflow-x-hidden with overflow-x-clip on the landing hero section to prevent it from becoming a nested scroll container
  • Add overflow-y-hidden on the code preview ScrollAreaViewport so only horizontal scrolling is enabled

Context

overflow-x-hidden causes overflow-y to compute to auto per CSS overflow rules. Combined with decorative vertical lines extending past the section height, the hero gained its own vertical scrollbar and caused layout misalignment on the homepage.

Screenshots

image image

Test plan

  • Open the docs landing page and confirm the hero no longer shows an extra vertical scrollbar
  • Verify horizontal scrolling still works in the code preview when content is wider than the viewport
  • Check layout alignment between hero and the sections below on desktop and mobile

overflow-x-hidden on the hero section computed overflow-y to auto and
created a nested vertical scrollbar. Use overflow-x-clip on the section
and overflow-y-hidden on the code ScrollAreaViewport instead.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

@Axyl1410 is attempting to deploy a commit to the maximogarciamartinez's projects Team on Vercel.

A member of the Team first needs to authorize it.

@pkg-pr-new

pkg-pr-new Bot commented Aug 19, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@nuxtjs/better-auth@397

commit: 6ddb553

@vercel

vercel Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
nuxt-better-auth-docs Ready Ready Preview Aug 20, 2026 4:47am

@onmax

onmax commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

thank you!

@onmax
onmax merged commit 2906d6c into nuxt-modules:main Aug 20, 2026
7 checks passed
@github-actions github-actions Bot mentioned this pull request Aug 20, 2026
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