Skip to content

Commit

Permalink
fix: icon组件高度适配内容大小
Browse files Browse the repository at this point in the history
  • Loading branch information
qzhuo committed Sep 14, 2024
1 parent c570c4a commit 13afa29
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vantui/src/icon/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
.van-icon {
/* stylelint-disable-next-line */
font: normal normal normal 28px 'vant-icon';
height: fit-content;

&--image {
width: 1em;
Expand Down

0 comments on commit 13afa29

Please # to comment.