From 66c58eb480d87b3259ca21c19d4076e2b353a1bc Mon Sep 17 00:00:00 2001 From: anlyyao Date: Tue, 29 Oct 2024 16:12:06 +0800 Subject: [PATCH] fix(Search): fixed the problem of not being able to modify the icon font-size --- src/search/_example/base/index.wxss | 2 +- src/search/search.less | 1 + src/search/search.wxml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/search/_example/base/index.wxss b/src/search/_example/base/index.wxss index bdfc5ff94..169a3bac4 100644 --- a/src/search/_example/base/index.wxss +++ b/src/search/_example/base/index.wxss @@ -5,4 +5,4 @@ .example-search:not(:last-child) { margin-bottom: 32rpx; -} \ No newline at end of file +} diff --git a/src/search/search.less b/src/search/search.less index cd2c0bcd9..1cb4c7cb8 100644 --- a/src/search/search.less +++ b/src/search/search.less @@ -68,6 +68,7 @@ &__clear { position: relative; margin-left: 10px; + font-size: 48rpx; color: @search-clear-icon-color; .hotspot-expanded(); } diff --git a/src/search/search.wxml b/src/search/search.wxml index aab4903b7..8842660a8 100644 --- a/src/search/search.wxml +++ b/src/search/search.wxml @@ -48,7 +48,7 @@ aria-role="button" aria-label="清除" > - +