Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(web): clip scrollbar overflow in modals #12526

Merged
merged 1 commit into from
Sep 10, 2024
Merged

Conversation

ben-basten
Copy link
Member

@ben-basten ben-basten commented Sep 9, 2024

Description

Improve the look and feel of the scrollbar in modals.

  • visually clip any scrollbar that overflows outside of the rounded corners
  • padding on the top and bottom of the scroll container, so the scrollbar doesn't span the whole height of the modal

Prerequisite for #12438.

Screenshots

Safari example

safari-scrolling-modal

Chrome example (MacOS)

chrome-scrolling-modal

@ben-basten ben-basten marked this pull request as ready for review September 9, 2024 23:19
Copy link
Contributor

@alextran1502 alextran1502 left a comment

Choose a reason for hiding this comment

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

Thanks <3

@alextran1502 alextran1502 merged commit 009a140 into main Sep 10, 2024
35 checks passed
@alextran1502 alextran1502 deleted the fix/chop-scrollbar branch September 10, 2024 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants