mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
fix(Icons): compatible with the browser range of Vant 2 (#12356)
This commit is contained in:
parent
30b6e1baf3
commit
4f3170bc85
@ -1,6 +1,8 @@
|
||||
.van-icon {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
// compatible with the browser range of Vant 2
|
||||
font: normal normal normal 14px/1 'vant-icon';
|
||||
font: normal normal normal 14px/1 var(--van-icon-font-family, 'vant-icon');
|
||||
font-size: inherit;
|
||||
text-rendering: auto;
|
||||
|
Loading…
x
Reference in New Issue
Block a user