From 6379999012b661a5c5111e5c97a31c2bea60ff06 Mon Sep 17 00:00:00 2001 From: zombieJ Date: Mon, 13 May 2019 19:58:13 +0800 Subject: [PATCH] use 1em instead of fix size (#16569) --- components/spin/style/index.less | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/spin/style/index.less b/components/spin/style/index.less index 9c96bdc70d..a211d7a1d1 100644 --- a/components/spin/style/index.less +++ b/components/spin/style/index.less @@ -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;