Skip to content

Commit

Permalink
fix: button: fixes button height and min width in flex layouts (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkilgore-eightfold authored May 2, 2022
1 parent ef40ab6 commit 95e32a3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/Button/button.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
border-radius: $corner-radius-s;
cursor: pointer;
display: inline-block;
min-width: max-content;
transition: all $motion-duration-extra-fast $motion-easing-easeinout 0s;
white-space: nowrap;

Expand Down Expand Up @@ -142,6 +143,7 @@
font-weight: $text-font-weight-semibold;
font-size: $text-font-size-5;
line-height: $text-line-height-3;
max-height: 44px;

&.counter {
font-size: $text-font-size-4;
Expand All @@ -162,6 +164,7 @@
font-weight: $text-font-weight-semibold;
font-size: $text-font-size-3;
line-height: $text-line-height-2;
max-height: 36px;

&.counter {
font-size: $text-font-size-2;
Expand All @@ -183,6 +186,7 @@
font-weight: $text-font-weight-semibold;
font-size: $text-font-size-2;
line-height: $text-line-height-1;
max-height: 28px;

&.counter {
font-size: $text-font-size-1;
Expand Down

0 comments on commit 95e32a3

Please sign in to comment.