Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(statustag): change border bg/icon size/ant-spin loading center #498

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/statusTag/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -53,6 +57,7 @@ $colors: (
&__icon {
display: flex;
align-items: center;
font-size: 16px;
&--default {
display: inline-block;
width: 6px;
Expand Down
Loading