mirror of
https://github.com/youzan/vant.git
synced 2025-10-15 15:40:52 +00: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:
@@ -2,6 +2,7 @@
|
||||
|
||||
.van-icon {
|
||||
&__image {
|
||||
display: block;
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
object-fit: contain;
|
||||
|
Reference in New Issue
Block a user