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