mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-03 03:38:41 +08:00
fix(style): icon font-size inherit (#4565)
This commit is contained in:
parent
3c4d4a841c
commit
240f65c2a3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user