use 1em instead of fix size (#16569)

This commit is contained in:
zombieJ 2019-05-13 19:58:13 +08:00 committed by GitHub
parent 3033b50108
commit 6379999012
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,7 +124,7 @@
display: inline-block;
font-size: @spin-dot-size;
.square(@spin-dot-size);
.square(1em);
&-item {
position: absolute;
@ -172,7 +172,6 @@
&-sm &-dot {
font-size: @spin-dot-size-sm;
.square(@spin-dot-size-sm);
i {
width: 6px;
height: 6px;
@ -183,7 +182,6 @@
&-lg &-dot {
font-size: @spin-dot-size-lg;
.square(@spin-dot-size-lg);
i {
width: 14px;
height: 14px;