-
Notifications
You must be signed in to change notification settings - Fork 291
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: prevent scrolling on user modal (WPB-4472) #15853
Conversation
@@ -50,11 +50,16 @@ export const userModalStyle = css` | |||
} | |||
|
|||
.modal__body { | |||
padding: 16px; | |||
padding: 0 16px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing the vertical padding brings us closer to the design specs
|
||
.classified-bar { | ||
margin-top: 12px; | ||
width: calc(100% + 32px); | ||
} | ||
} | ||
`; | ||
|
||
export const userModalWrapperStyle: CSSObject = { | ||
maxHeight: '90vh', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codecov Report
@@ Coverage Diff @@
## dev #15853 +/- ##
=======================================
Coverage 44.52% 44.52%
=======================================
Files 673 673
Lines 22727 22728 +1
Branches 5169 5169
=======================================
+ Hits 10119 10120 +1
Misses 11317 11317
Partials 1291 1291 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😎
Description
Prevents unwanted scrolling on the user modal
Screenshots/Screencast (for UI changes)
Before:
After:
Checklist