Skip to content

Commit

Permalink
fix(Core): close alibaba-fusion#3147
Browse files Browse the repository at this point in the history
  • Loading branch information
youluna committed Jul 2, 2021
1 parent 4e29c22 commit 4f4f22a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/button/scss/mixin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,25 @@
@include button-size($padding, $height, $font-size, $border-width);

& > #{$btn-prefix}-icon#{$btn-icon-prefix}-first {
@if (get-compiling-value($icon-size) >= 12) {
transform: scale(1);
}
@include icon-size($icon-size, 0, $icon-margin);
}
& > #{$btn-prefix}-icon#{$btn-icon-prefix}-last {
@if (get-compiling-value($icon-size) >= 12) {
transform: scale(1);
}
@include icon-size($icon-size, $icon-margin, 0);
}
& > #{$btn-prefix}-icon#{$btn-icon-prefix}-alone {
@if (get-compiling-value($icon-size) >= 12) {
transform: scale(1);
}
@include icon-size($icon-size);
}


&#{$btn-prefix}-loading {
&:before {
width: $icon-size;
Expand Down

0 comments on commit 4f4f22a

Please sign in to comment.