fix(style): icon font-size inherit (#4565)

This commit is contained in:
云游君 2021-12-04 01:32:13 +08:00 committed by GitHub
parent 3c4d4a841c
commit 240f65c2a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;