Skip to content

Commit

Permalink
fix(search-select):修复清除图标位置(#853)
Browse files Browse the repository at this point in the history
  • Loading branch information
SunLxy committed Jun 19, 2022
1 parent 0877f32 commit 33c0dee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/react-search-select/src/index.tsx
Expand Up @@ -312,7 +312,7 @@ export default function SearchSelect(props: SearchSelectProps) {
>
<span
style={{
maxWidth: tagClientWidth - 48,
maxWidth: tagClientWidth - 63,
textOverflow: 'ellipsis',
overflow: 'auto',
}}
Expand Down
4 changes: 2 additions & 2 deletions packages/react-search-select/src/style/index.less
Expand Up @@ -8,8 +8,8 @@
// min-width: 50px;
height: 28px;
}
.w-input-small {
width: 100%;
&.w-input-small {
min-width: 0;
}

.w-input-inner {
Expand Down

0 comments on commit 33c0dee

Please sign in to comment.