Skip to content

docs(builder): fix layout overflow on smaller screens - #5752

Merged
Bekacru merged 1 commit into
better-auth:canaryfrom
bbabou:docs/fix-signin-box-layout
Nov 4, 2025
Merged

Bekacru merged 1 commit into
better-auth:canaryfrom
bbabou:docs/fix-signin-box-layout

Conversation

@bbabou

@bbabou bbabou commented Nov 4, 2025 •

Copy link
Copy Markdown
Contributor

Fixing layout on smaller screens to be able to see the continue button


Summary by cubic

Fix layout overflow in the Builder dialog on small screens by making the content container vertically scrollable. Added overflow-y-scroll with no-scrollbar so the Continue button stays visible without showing scrollbars.

Written for commit 3af5a64. Summary will update automatically on new commits.

Copilot AI review requested due to automatic review settings November 4, 2025 14:53
@vercel

vercel Bot commented Nov 4, 2025

Copy link
Copy Markdown

@bbabou is attempting to deploy a commit to the better-auth Team on Vercel.

A member of the Team first needs to authorize it.

@pkg-pr-new

pkg-pr-new Bot commented Nov 4, 2025

Copy link
Copy Markdown

Open in StackBlitz

better-auth

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

@better-auth/cli

npm i https://pkg.pr.new/better-auth/better-auth/@better-auth/cli@5752

@better-auth/core

npm i https://pkg.pr.new/better-auth/better-auth/@better-auth/core@5752

@better-auth/expo

npm i https://pkg.pr.new/better-auth/better-auth/@better-auth/expo@5752

@better-auth/sso

npm i https://pkg.pr.new/better-auth/better-auth/@better-auth/sso@5752

@better-auth/stripe

npm i https://pkg.pr.new/better-auth/better-auth/@better-auth/stripe@5752

@better-auth/telemetry

npm i https://pkg.pr.new/better-auth/better-auth/@better-auth/telemetry@5752

commit: 3af5a64

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds vertical scrolling capability to the main content container in the Builder dialog component.

  • Adds overflow-y-scroll class to the parent flex container inside the DialogContent

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

</DialogHeader>

<div className="flex gap-4 md:gap-12 flex-col md:flex-row items-center md:items-start">
<div className="overflow-y-scroll no-scrollbar flex gap-4 md:gap-12 flex-col md:flex-row items-center md:items-start">

Copilot AI Nov 4, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding overflow-y-scroll to the parent div creates nested scrollable containers (the child div on line 273 also has overflow-scroll). This can lead to confusing scroll behavior and accessibility issues. Consider whether the parent needs scrolling given that children already have fixed heights with their own scroll containers, or consolidate the scrolling logic to avoid nesting.

Suggested change
<div className="overflow-y-scroll no-scrollbar flex gap-4 md:gap-12 flex-col md:flex-row items-center md:items-start">
<div className="no-scrollbar flex gap-4 md:gap-12 flex-col md:flex-row items-center md:items-start">

Copilot uses AI. Check for mistakes.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

@Bekacru
Bekacru added this pull request to the merge queue Nov 4, 2025
Merged via the queue into better-auth:canary with commit d9141c6 Nov 4, 2025
0 of 3 checks passed
@github-actions

github-actions Bot commented Nov 4, 2025

Copy link
Copy Markdown
Contributor

✅ Successfully cherry-picked to main branch!

himself65 pushed a commit that referenced this pull request Nov 4, 2025
@bbabou
bbabou deleted the docs/fix-signin-box-layout branch November 20, 2025 09:06
@better-auth better-auth locked as resolved and limited conversation to collaborators Mar 31, 2026
@bytaesu bytaesu added the locked Locked conversations after being closed for 7 days label Mar 31, 2026
@gustavovalverde gustavovalverde added the docs Documentation, demos label Apr 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

docs Documentation, demos locked Locked conversations after being closed for 7 days

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants