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