Skip to content

Commit 52b90ad

Browse files
authored
Revert "fix(Icon): supplementary image width and height (#2803)" (#2809)
This reverts commit 2585496.
1 parent 2585496 commit 52b90ad

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/icon/icon.less

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@
1414

1515
.@{prefix}-icon {
1616
&--image {
17-
width: 40rpx;
18-
height: 40rpx;
17+
// 2.x 建议移除该wrapper
18+
width: 100%;
19+
height: 100%;
1920
}
2021

2122
&__image {

0 commit comments

Comments
 (0)