-
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): replace width rule with padding #3607
fix(modal): replace width rule with padding #3607
Conversation
Deploy preview for the-carbon-components ready! Built with commit 0913bf9 https://deploy-preview-3607--the-carbon-components.netlify.com |
Deploy preview for carbon-components-react ready! Built with commit 0913bf9 https://deploy-preview-3607--carbon-components-react.netlify.com |
Deploy preview for carbon-elements ready! Built with commit 0913bf9 |
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 @emyarod!
Not that I disagree with this change but I'm curious, isn't this a breaking change for any user of Carbon 10 that has asked how to overwrite the 75% width setup for modal (i've seen it multiple times in slack and the issue backlog)? |
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.
👍
@elizabethsjudd I don't think it's likely, but let us know if you can think of any specific case. |
Closes #3412
This PR replaces the width rule on modal header and content with a padding change instead
Testing / Reviewing
Ensure the modal appears correct