From 4f3170bc85ed41a2d0c32ea5f3706bc557836b71 Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 10 Oct 2023 21:03:39 +0800 Subject: [PATCH] fix(Icons): compatible with the browser range of Vant 2 (#12356) --- packages/vant-icons/src/common.less | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/vant-icons/src/common.less b/packages/vant-icons/src/common.less index 30fc84e7b..958f97970 100644 --- a/packages/vant-icons/src/common.less +++ b/packages/vant-icons/src/common.less @@ -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;