diff --git a/packages/vant/src/icon/index.less b/packages/vant/src/icon/index.less index 82eb54a92..70beb7041 100644 --- a/packages/vant/src/icon/index.less +++ b/packages/vant/src/icon/index.less @@ -2,6 +2,7 @@ .van-icon { &__image { + display: block; width: 1em; height: 1em; object-fit: contain;