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