Skip to content

Commit cde9a42

Browse files
fix(fuselage): button min-width (#1029)
Co-authored-by: Douglas Fabris <devfabris@gmail.com>
1 parent e83ac08 commit cde9a42

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/fuselage/src/components/Button/Button.styles.scss

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
.rcx-button {
77
@mixin with-rectangular-size($height, $padding-x, $line-height) {
8+
min-width: calc(#{$height} * 2);
89
padding: calc((#{$height} - #{$line-height}) / 2 - 2px)
910
calc(#{$padding-x} - 2px);
1011
padding-block: calc((#{$height} - #{$line-height}) / 2 - 2px);
@@ -13,6 +14,7 @@
1314

1415
@mixin with-squared-size($size) {
1516
width: $size;
17+
min-width: $size;
1618
height: $size;
1719
padding: 0;
1820

0 commit comments

Comments
 (0)