We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f17656c commit 47dce10Copy full SHA for 47dce10
1 file changed
scss/_components.button.scss
@@ -89,6 +89,14 @@ $btn-height-computed: $btn-font-size-md * $btn-line-height + 2 * nth($btn-paddin
89
90
.btn.btn--icon {
91
width: $btn-height-computed;
92
+ height: $btn-height-computed;
93
+ padding: 0;
94
+ > * {
95
+ position: absolute;
96
+ top: 50%;
97
+ left: 50%;
98
+ transform: translate(-50%, -50%);
99
+ }
100
}
101
102
.btn.btn--black {
0 commit comments