mirror of
https://github.com/youzan/vant.git
synced 2025-10-15 23:55:08 +00:00
fix(Icons): compatible with the browser range of Vant 2 (#12356)
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user