Skip to content

Commit

Permalink
fix(switch): fix switch getting shrinked when space is small (#362)
Browse files Browse the repository at this point in the history
Co-authored-by: Dilyana Dimova <didimmova@Dilyanas-MacBook-Pro.local>
  • Loading branch information
didimmova and Dilyana Dimova authored May 11, 2022
1 parent 2772658 commit e6a443c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/checkbox/themes/light/switch.base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ label {

[part~='control'] {
display: flex;
flex-shrink: 0;
align-items: center;
user-select: none;
transition: all .2s ease-in-out;
Expand Down

0 comments on commit e6a443c

Please sign in to comment.