Skip to content

Fix mobile horizontal scrollbar due to width#3

Open
gitethanwoo wants to merge 1 commit intomainfrom
cursor/fix-mobile-horizontal-scrollbar-due-to-width-8de3
Open

Fix mobile horizontal scrollbar due to width#3
gitethanwoo wants to merge 1 commit intomainfrom
cursor/fix-mobile-horizontal-scrollbar-due-to-width-8de3

Conversation

@gitethanwoo
Copy link
Owner

Add overflow-x: hidden and width: 100% to html, body to prevent horizontal scrollbars on mobile.


Open in Cursor Open in Web

Co-authored-by: strictlyethan <strictlyethan@gmail.com>
@cursor
Copy link

cursor bot commented Aug 28, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@vercel
Copy link

vercel bot commented Aug 28, 2025

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

Project Deployment Preview Comments Updated (UTC)
ai-chatbot Error Error Aug 28, 2025 0:56am

@gitethanwoo
Copy link
Owner Author

@cursoragent are you sure that's the best solution to the stated issue

@cursor
Copy link

cursor bot commented Aug 31, 2025

Working on it! I'll start making changes in this branch.

Open in Cursor Open in Web

@gitethanwoo
Copy link
Owner Author

@cursor please check again if that's the best solution

@cursor
Copy link

cursor bot commented Aug 31, 2025

Open in Cursor Open in Web

Learn more about Cursor Agents

@gitethanwoo gitethanwoo marked this pull request as ready for review August 31, 2025 14:14
html, body {
overflow-x: hidden;
width: 100%;
}
Copy link

Choose a reason for hiding this comment

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

Bug: Global Overflow Styling Causes Accessibility Problems

Applying overflow-x: hidden globally to html and body hides all horizontally overflowing content. This makes content inaccessible and breaks legitimate horizontal scrolling for components like data tables or code blocks, creating significant accessibility issues.

Fix in Cursor Fix in Web

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