Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Commit

Permalink
fix: badge style
Browse files Browse the repository at this point in the history
Signed-off-by: hanchuyou <han.chuyou@xsky.com>
  • Loading branch information
hanchuyou committed Oct 13, 2023
1 parent 6efb53b commit 3f89c7c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/components/Badge/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,23 @@
&__dot {
display: inline-block;
vertical-align: middle;
& + .Badge__text{
margin-left: 4px;
vertical-align: middle;
}
&.small {
width: $badge-dot-small-size;
height: $badge-dot-small-size;
border-radius: calc($badge-dot-small-size / 2);
margin-right: 4px;
}
&.middle {
width: $badge-dot-small-size * 1.66666666666666;
height: $badge-dot-small-size * 1.66666666666666;
border-radius: $badge-dot-small-size;
margin-right: 4px;
}
&.large {
width: $badge-dot-small-size * 3;
height: $badge-dot-small-size * 3;
border-radius: $badge-dot-small-size * 1.5;
margin-right: 4px;
}
}
&--default {
Expand Down

0 comments on commit 3f89c7c

Please sign in to comment.