Skip to content

Commit

Permalink
fix: 修复抖音小程序searchbar输入抖动的问题 (#2552)
Browse files Browse the repository at this point in the history
  • Loading branch information
junjun666 authored Sep 12, 2023
1 parent 06aea52 commit b601574
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"dev:taro:alipay": "pnpm --dir ./packages/nutui-taro-demo dev:alipay",
"dev:taro:jd": "pnpm --dir ./packages/nutui-taro-demo dev:jd",
"dev:taro:h5": "pnpm --dir ./packages/nutui-taro-demo dev:h5",
"dev:taro:tt": "pnpm --dir ./packages/nutui-taro-demo dev:tt",
"build:taro:h5": "pnpm --dir ./packages/nutui-taro-demo build:h5",
"build:taro:weapp": "pnpm --dir ./packages/nutui-taro-demo build:weapp",
"build:site": "vite build",
Expand Down
7 changes: 5 additions & 2 deletions src/packages/__VUE/searchbar/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
input {
width: 100%;
height: 100%;
min-width: 214px;
padding-left: 4px;
}
}
Expand Down Expand Up @@ -138,11 +137,15 @@
margin: 0;
background-color: transparent;
border-color: transparent;
border-radius: 16px;
// border-radius: 16px;
outline: none;
font-size: 14px;
}

.nut-searchbar__input-bar_clear {
max-width: 290px;
}

.nut-searchbar__input-inner-absolute {
.nut-searchbar__input-bar {
box-sizing: border-box;
Expand Down

0 comments on commit b601574

Please sign in to comment.