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(button): prevent text jump in disabled button set #5556

Merged
merged 4 commits into from
Mar 10, 2020

Conversation

janhassel
Copy link
Member

Closes #5555

Changelog

Changed

  • Replaced border-left for disabled buttons in a set to box-shadow

Testing / Reviewing

  1. Launch react storybook -> "Set of buttons"
  2. Watch primary button when toggling "disabled" checkbox
  3. Text should align

carbon-button-set

@janhassel janhassel requested a review from a team as a code owner March 6, 2020 09:13
@ghost ghost requested review from joshblack and tw15egan March 6, 2020 09:13
@netlify
Copy link

netlify bot commented Mar 6, 2020

Deploy preview for carbon-components-react ready!

Built with commit 8fa9f07

https://deploy-preview-5556--carbon-components-react.netlify.com

@netlify
Copy link

netlify bot commented Mar 6, 2020

Deploy preview for carbon-elements ready!

Built with commit 8fa9f07

https://deploy-preview-5556--carbon-elements.netlify.com

Copy link
Collaborator

@tw15egan tw15egan left a comment

Choose a reason for hiding this comment

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

Thanks for the fix! 👍 ✅

Copy link
Member

@laurenmrice laurenmrice left a comment

Choose a reason for hiding this comment

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

looks good ! 🎉

@tw15egan tw15egan merged commit e562db6 into carbon-design-system:master Mar 10, 2020
joshblack added a commit to joshblack/carbon that referenced this pull request Mar 10, 2020
…system#5556)

* fix(button): prevent text jump in disabled button set

* fix(button): simplify disabled rule on button set

Co-authored-by: TJ Egan <[email protected]>
Co-authored-by: Josh Black <[email protected]>
@janhassel janhassel deleted the fix-5555 branch April 2, 2020 15:48
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.

ButtonSet: Text on primary button jumps when set is disabled
5 participants