-
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(button): remove margin added by safari #5169
fix(button): remove margin added by safari #5169
Conversation
Deploy preview for carbon-elements ready! Built with commit 9e90f22 |
Deploy preview for the-carbon-components ready! Built with commit 9e90f22 https://deploy-preview-5169--the-carbon-components.netlify.com |
Deploy preview for carbon-components-react failed. Built with commit 9e90f22 https://app.netlify.com/sites/carbon-components-react/deploys/5e2a3805e57ab30008a455b8 |
Deploy preview for carbon-elements ready! Built with commit b0fdec3 |
Deploy preview for the-carbon-components ready! Built with commit b0fdec3 https://deploy-preview-5169--the-carbon-components.netlify.com |
Deploy preview for carbon-components-react failed. Built with commit b0fdec3 https://app.netlify.com/sites/carbon-components-react/deploys/5e30c2f09ce9d40008d8bc92 |
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.
Thank you for jumping in @tw15egan! Just wondered if the Safari margin stuff should be in button reset style. Applying this to .bx--btn
is fine, though.
I just want to make sure users who are not using our reset still get the safari fix. We could put in both places, I guess? |
Yes both will make sense. Thanks @tw15egan for clarifying! |
@asudoh updated, let me know if this works 👍 |
Thank you for the update @tw15egan! Looks basically good, just one question; Do we want |
Hmm, that's a good point. I guess we might as well just remove all margin from buttons, I can update it to that. |
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.
Thanks @tw15egan for the update!
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.
Closes #5155
Removes margin placed on
button
by SafariChangelog
New
button
Testing / Reviewing
Ensure there is no 2px margin when viewing buttons on Safari.