From 053396810b1930dc1559a872e99c4e2c2fdb42c2 Mon Sep 17 00:00:00 2001 From: George Gray Date: Wed, 14 Feb 2018 04:35:52 +0000 Subject: [PATCH] add @badge-font-weight var (#9352) --- components/badge/style/index.less | 1 + components/style/themes/default.less | 1 + 2 files changed, 2 insertions(+) diff --git a/components/badge/style/index.less b/components/badge/style/index.less index 16f25bdbf7..336e4dbc38 100644 --- a/components/badge/style/index.less +++ b/components/badge/style/index.less @@ -24,6 +24,7 @@ text-align: center; padding: 0 6px; font-size: @badge-font-size; + font-weight: @badge-font-weight; white-space: nowrap; transform-origin: -10% center; box-shadow: 0 0 0 1px #fff; diff --git a/components/style/themes/default.less b/components/style/themes/default.less index e8a1de0e09..343e374e31 100644 --- a/components/style/themes/default.less +++ b/components/style/themes/default.less @@ -362,6 +362,7 @@ @badge-height: 20px; @badge-dot-size: 6px; @badge-font-size: @font-size-sm; +@badge-font-weight: normal; @badge-status-size: 6px; // Rate