Skip to content

Commit

Permalink
fix(button): prevent separator overlap on focus shadow
Browse files Browse the repository at this point in the history
  • Loading branch information
emyarod committed Aug 11, 2020
1 parent 144e620 commit 63c4c5d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/components/src/components/button/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@
}
}

.#{$prefix}--btn-set .#{$prefix}--btn:focus + .#{$prefix}--btn {
box-shadow: inherit;
}

.#{$prefix}--btn-set--stacked
.#{$prefix}--btn:not(:first-of-type):not(:focus) {
box-shadow: 0 rem(-1px) 0 0 $button-separator;
Expand Down

0 comments on commit 63c4c5d

Please sign in to comment.