Skip to content

Commit

Permalink
fix(button): prevent text jump in disabled button set (carbon-design-…
Browse files Browse the repository at this point in the history
…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]>
  • Loading branch information
3 people committed Mar 10, 2020
1 parent 28b1e10 commit 38fb161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/src/components/button/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
+ .#{$prefix}--btn--primary.#{$prefix}--btn--disabled,
.#{$prefix}--btn--tertiary.#{$prefix}--btn--disabled
+ .#{$prefix}--btn--danger.#{$prefix}--btn--disabled {
border-left: rem(1px) solid $disabled-03;
box-shadow: rem(-1px) 0 0 0 $disabled-03;
}

.#{$prefix}--btn {
Expand Down

0 comments on commit 38fb161

Please sign in to comment.