Skip to content

Commit 0364887

Browse files
committed
fix: uni-search-bar在nvue下不支持background-color:inherit的bug
1 parent 7ec791e commit 0364887

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: uni_modules/uni-search-bar/components/uni-search-bar/uni-search-bar.vue

+3-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@
241241
.uni-searchbar__box {
242242
/* #ifndef APP-NVUE */
243243
display: flex;
244-
box-sizing: border-box;
244+
box-sizing: border-box;
245245
justify-content: left;
246246
/* #endif */
247247
overflow: hidden;
@@ -271,7 +271,9 @@
271271
color: #333;
272272
margin-left: 5px;
273273
margin-top: 1px;
274+
/* #ifndef APP-NVUE */
274275
background-color: inherit;
276+
/* #endif */
275277
}
276278
277279
.uni-searchbar__box-icon-clear {

0 commit comments

Comments
 (0)