mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(Icon): remove white space under image when using image URL (#10220)
* fix(Icon): use image URL as name prop, remove white space under image * Update index.less Co-authored-by: neverland <chenjiahan@buaa.edu.cn>
This commit is contained in:
parent
0424a15766
commit
befdf5e857
@ -2,6 +2,7 @@
|
||||
|
||||
.van-icon {
|
||||
&__image {
|
||||
display: block;
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
object-fit: contain;
|
||||
|
Loading…
x
Reference in New Issue
Block a user