From e7df78348cd172c503767bf3c09955b3880d8160 Mon Sep 17 00:00:00 2001 From: LuckyFBB <976060700@qq.com> Date: Sun, 29 Sep 2024 17:32:22 +0800 Subject: [PATCH] fix(statustag): change border bg/icon size/ant-spin loading center --- src/statusTag/style.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/statusTag/style.scss b/src/statusTag/style.scss index ef01a9a12..cb03b2f7b 100644 --- a/src/statusTag/style.scss +++ b/src/statusTag/style.scss @@ -41,10 +41,14 @@ $colors: ( height: 24px; font-size: 12px; color: #3D446E; + .ant-spin { + font-size: 14px; // 因为 theme 修改了默认字体为 12px,导致居中错乱,因此覆盖一下 + } &--border { padding: 2px 12px; border: 1px solid #D8DAE2; border-radius: 14px; + background-color: #FFF; } &--fill { padding: 2px 12px; @@ -53,6 +57,7 @@ $colors: ( &__icon { display: flex; align-items: center; + font-size: 16px; &--default { display: inline-block; width: 6px;