mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +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 {
|
.van-icon {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: inline-block;
|
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: normal normal normal 14px/1 var(--van-icon-font-family, 'vant-icon');
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
text-rendering: auto;
|
text-rendering: auto;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user