Skip to content

fix(docs): improve docs layout responsiveness - #404

Merged
onmax merged 6 commits into
nuxt-modules:mainfrom
Axyl1410:fix/docs-responsive-layout
Aug 21, 2026
Merged

fix(docs): improve docs layout responsiveness#404
onmax merged 6 commits into
nuxt-modules:mainfrom
Axyl1410:fix/docs-responsive-layout

Conversation

@Axyl1410

@Axyl1410 Axyl1410 commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fix docs responsive layout: sidebar sticky alignment, overflow, and page/TOC grid using better-auth layout tokens (--fd-toc-width / --fd-layout-width)
  • Restructure docs page DOM to #nd-page > #nd-article + #nd-toc so TOC no longer overflows mid-size viewports
  • Normalize header icon sizes (GitHub / theme toggle) and remove conflicting --header-height override on .app-root

Screenshots

Before:
image
image
image
image
image
After:
image
image
image

Test plan

  • Docs pages at <1280px: no horizontal overflow; side TOC hidden
  • Docs pages at ≥1280px: TOC visible, no page overflow
  • Sidebar search flush with aside top; borders align when scrolling
  • Header GitHub and theme icons look the same size
  • Mobile docs sidebar opens full height without layout shift

Align docs page/TOC with better-auth layout tokens, fix sidebar sticky
alignment, and normalize header icon sizes so the docs chrome no longer
overflows or misaligns on mid-size viewports.

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

vercel Bot commented Aug 21, 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 21, 2026

Copy link
Copy Markdown

Open in StackBlitz

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

commit: b7b386f

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

onmax commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

you are a legend!

@vercel

vercel Bot commented Aug 21, 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 21, 2026 9:37am

@onmax

onmax commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

thank you!

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