Skip to content

Commit

Permalink
fix(button): add height auto to non-styled button classes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Biggs authored and bfbiggs committed May 7, 2019
1 parent 130af67 commit eacce78
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/scss/components/button/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,13 @@
$bg-active: transparent,
$color-disabled: $button__link-color--disabled
);
@include button-size($radius: 0, $padding: 0);
@include button-size($radius: 0, $padding: 0, $height: auto);

min-width: 0;
}

&--size-none {
@include button-size($radius: 0, $padding: 0);
@include button-size($radius: 0, $padding: 0, $height: auto);

min-width: 0;
}
Expand Down Expand Up @@ -560,7 +560,7 @@
$fill-active: $md-theme-70,
$fill-disabled: $button__link-color--disabled
);
@include button-size($radius: 0, $padding: 0);
@include button-size($radius: 0, $padding: 0, $height: auto);

min-width: 0;

Expand Down Expand Up @@ -594,7 +594,7 @@
$bg-active: transparent,
$color-disabled: $button__link-color--disabled
);
@include button-size($radius: 0, $padding: 0);
@include button-size($radius: 0, $padding: 0, $height: auto);

min-width: 0;
}
Expand Down

0 comments on commit eacce78

Please sign in to comment.