From 240f65c2a3c1840747ef366e4cf633b78e5815fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=91=E6=B8=B8=E5=90=9B?= Date: Sat, 4 Dec 2021 01:32:13 +0800 Subject: [PATCH] fix(style): icon font-size inherit (#4565) --- packages/theme-chalk/src/icon.scss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/theme-chalk/src/icon.scss b/packages/theme-chalk/src/icon.scss index f3d2372bab..4f1f054332 100644 --- a/packages/theme-chalk/src/icon.scss +++ b/packages/theme-chalk/src/icon.scss @@ -25,7 +25,6 @@ @include b(icon) { --color: inherit; - --font-size: #{map.get($font-size, 'base')}; height: 1em; width: 1em; line-height: 1em; @@ -34,7 +33,7 @@ position: relative; fill: currentColor; color: var(--color); - font-size: var(--font-size); + font-size: inherit; @include when(loading) { animation: rotating 2s linear infinite;