fix(Icons): compatible with the browser range of Vant 2 (#12356)

This commit is contained in:
neverland 2023-10-10 21:03:39 +08:00 committed by GitHub
parent 30b6e1baf3
commit 4f3170bc85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;