From 6198d637981d4cc92082dc6a52032aa6f5fbf21f Mon Sep 17 00:00:00 2001 From: "zhangyumei.0319" Date: Mon, 3 Jun 2024 21:04:56 +0800 Subject: [PATCH] style: Explicitly set the display of the svg in the spin to inline --- packages/semi-foundation/spin/spin.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/semi-foundation/spin/spin.scss b/packages/semi-foundation/spin/spin.scss index 1ba0e3d717..a0da4fd7b9 100644 --- a/packages/semi-foundation/spin/spin.scss +++ b/packages/semi-foundation/spin/spin.scss @@ -27,6 +27,7 @@ $module: #{$prefix}-spin; color: $color-spin-bg; & > svg { + display: inline; animation: $animation_duration-spin_wrapper-spin linear infinite #{$prefix}-animation-rotate; animation-fill-mode: forwards; vertical-align: top;