Commit a24e80eeda859cc9b27630b9904320e8fabd31e6
1 parent
73a9a739
update Badge style
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/styles/components/badge.less
1 | @badge-prefix-cls: ~"@{css-prefix}badge"; | 1 | @badge-prefix-cls: ~"@{css-prefix}badge"; |
2 | 2 | ||
3 | .@{badge-prefix-cls} { | 3 | .@{badge-prefix-cls} { |
4 | - font-family: "Monospaced Number"; | ||
5 | position: relative; | 4 | position: relative; |
6 | display: inline-block; | 5 | display: inline-block; |
7 | line-height: 1; | 6 | line-height: 1; |
8 | vertical-align: middle; | 7 | vertical-align: middle; |
9 | 8 | ||
10 | &-count { | 9 | &-count { |
10 | + font-family: "Monospaced Number"; | ||
11 | position: absolute; | 11 | position: absolute; |
12 | transform: translateX(50%); | 12 | transform: translateX(50%); |
13 | top: -10px; | 13 | top: -10px; |