Skip to content

Commit 5d7ea1a

Browse files
authored
fix(statustag): change border bg/icon size/ant-spin loading center (#498)
1 parent 76f808d commit 5d7ea1a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/statusTag/style.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,14 @@ $colors: (
4141
height: 24px;
4242
font-size: 12px;
4343
color: #3D446E;
44+
.ant-spin {
45+
font-size: 14px; // 因为 theme 修改了默认字体为 12px,导致居中错乱,因此覆盖一下
46+
}
4447
&--border {
4548
padding: 2px 12px;
4649
border: 1px solid #D8DAE2;
4750
border-radius: 14px;
51+
background-color: #FFF;
4852
}
4953
&--fill {
5054
padding: 2px 12px;

0 commit comments

Comments
 (0)