Skip to content

Comments

clients/packages/ui: fix double scrollbar#5191

Merged
frankie567 merged 1 commit intopolarsource:mainfrom
qwtel:main
Apr 11, 2025
Merged

clients/packages/ui: fix double scrollbar#5191
frankie567 merged 1 commit intopolarsource:mainfrom
qwtel:main

Conversation

@qwtel
Copy link
Contributor

@qwtel qwtel commented Mar 6, 2025

Fixes double scrollbars. The outer scrollbar is unnecessary. Currently it always overflows by .5rem (caused by padding-top of the child). As best as I can tell there's never a reason to overflow the outermost wrapper, so fixed via clipping.

Screenshot 2025-03-06 at 13 46 51-2

@vercel
Copy link

vercel bot commented Mar 6, 2025

@qwtel is attempting to deploy a commit to the polar-sh Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Apr 11, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
polar ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 11, 2025 0:31am
polar-sandbox ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 11, 2025 0:31am

@frankie567
Copy link
Member

Thank you for the fix @qwtel 🙏 I tweaked it a bit so it doesn't break scrolling on mobile, but otherwise, really nice catch 👍

@frankie567 frankie567 merged commit f1bba57 into polarsource:main Apr 11, 2025
0 of 2 checks passed
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