From a24e80eeda859cc9b27630b9904320e8fabd31e6 Mon Sep 17 00:00:00 2001 From: 梁灏 Date: Tue, 3 Jul 2018 16:49:38 +0800 Subject: [PATCH] update Badge style --- src/styles/components/badge.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/styles/components/badge.less b/src/styles/components/badge.less index 1e9f2b1..0a7d1d7 100644 --- a/src/styles/components/badge.less +++ b/src/styles/components/badge.less @@ -1,13 +1,13 @@ @badge-prefix-cls: ~"@{css-prefix}badge"; .@{badge-prefix-cls} { - font-family: "Monospaced Number"; position: relative; display: inline-block; line-height: 1; vertical-align: middle; &-count { + font-family: "Monospaced Number"; position: absolute; transform: translateX(50%); top: -10px; -- libgit2 0.21.4