-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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(modal): add padding to last child only when scrolling is true #5267
Conversation
Deploy preview for carbon-elements ready! Built with commit 00b2a52 |
Deploy preview for carbon-components-react ready! Built with commit 00b2a52 https://deploy-preview-5267--carbon-components-react.netlify.com |
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.
LGTM! 👍 ✅ 🎉
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.
LGTM 👍 - Thanks @abbeyhrt!
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.
Nicely done!
Closes #5254
(Ref #4979)
This PR adjusts the padding that is added to the last child in the modal so that it is only applied when
hasScrollingContent
is true.Changelog
Changed
padding-bottom
on last childTesting / Reviewing
Make sure that no scroll area exists on a Modal when
hasScrollingContent
is false.