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 | 1 | @badge-prefix-cls: ~"@{css-prefix}badge"; |
2 | 2 | |
3 | 3 | .@{badge-prefix-cls} { |
4 | - font-family: "Monospaced Number"; | |
5 | 4 | position: relative; |
6 | 5 | display: inline-block; |
7 | 6 | line-height: 1; |
8 | 7 | vertical-align: middle; |
9 | 8 | |
10 | 9 | &-count { |
10 | + font-family: "Monospaced Number"; | |
11 | 11 | position: absolute; |
12 | 12 | transform: translateX(50%); |
13 | 13 | top: -10px; | ... | ... |