Skip to content

Commit

Permalink
use 1em instead of fix size (#16569)
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ committed May 13, 2019
1 parent 3033b50 commit 6379999
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions components/spin/style/index.less
Expand Up @@ -124,7 +124,7 @@
display: inline-block;
font-size: @spin-dot-size;

.square(@spin-dot-size);
.square(1em);

&-item {
position: absolute;
Expand Down Expand Up @@ -172,7 +172,6 @@
&-sm &-dot {
font-size: @spin-dot-size-sm;

.square(@spin-dot-size-sm);
i {
width: 6px;
height: 6px;
Expand All @@ -183,7 +182,6 @@
&-lg &-dot {
font-size: @spin-dot-size-lg;

.square(@spin-dot-size-lg);
i {
width: 14px;
height: 14px;
Expand Down

0 comments on commit 6379999

Please sign in to comment.