Skip to content

Commit

Permalink
fix(Search): fixed the problem of not being able to modify the icon f…
Browse files Browse the repository at this point in the history
…ont-size (#3238)
  • Loading branch information
anlyyao authored Oct 30, 2024
1 parent e127460 commit 96a4927
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/search/_example/base/index.wxss
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@

.example-search:not(:last-child) {
margin-bottom: 32rpx;
}
}
1 change: 1 addition & 0 deletions src/search/search.less
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
&__clear {
position: relative;
margin-left: 10px;
font-size: 48rpx;
color: @search-clear-icon-color;
.hotspot-expanded();
}
Expand Down
2 changes: 1 addition & 1 deletion src/search/search.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
aria-role="button"
aria-label="清除"
>
<t-icon name="close-circle-filled" size="48rpx" />
<t-icon name="close-circle-filled" size="inherit" color="inherit" />
</view>
</view>
<view
Expand Down

0 comments on commit 96a4927

Please sign in to comment.