From 7f466a3859a197bee255c3dca4e620f2ae5014fb Mon Sep 17 00:00:00 2001 From: neverland Date: Fri, 24 Jul 2020 16:00:30 +0800 Subject: [PATCH] fix(Icon): incorrect image icon height when loading (#6858) --- src/icon/index.less | 1 + 1 file changed, 1 insertion(+) diff --git a/src/icon/index.less b/src/icon/index.less index f1b78f967..803156141 100644 --- a/src/icon/index.less +++ b/src/icon/index.less @@ -3,6 +3,7 @@ .van-icon { &__image { + display: block; width: 1em; height: 1em; object-fit: contain;