Skip to content

Commit

Permalink
style(SearchSelect): 修复错误严重样式#793
Browse files Browse the repository at this point in the history
  • Loading branch information
nullptr-z committed Apr 26, 2022
1 parent d040f9a commit c2e7fe6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/react-search-select/src/index.tsx
Expand Up @@ -274,7 +274,7 @@ export default function SearchSelect(props: SearchSelectProps) {
.join(' ')
.trim()}
>
<div className={`${prefixCls}-tag-content`} style={{}}>
<div className={`${prefixCls}-tag-content`}>
{isMultiple &&
selectedValue.slice(0, maxTagCount).map((item, index) => {
return (
Expand Down
5 changes: 3 additions & 2 deletions packages/react-search-select/src/style/index.less
Expand Up @@ -41,7 +41,7 @@
box-sizing: border-box;
background: #fff;
margin: 0 !important;
padding: 1px 10px;
padding: 1px 1px;
vertical-align: middle;
line-height: 30px;
align-items: center;
Expand Down Expand Up @@ -97,14 +97,15 @@
align-items: center;
flex-flow: wrap;
width: 100%;
padding: 0 9px;
}

&-search-false {
cursor: pointer;
}

&-multiple-colse {
left: 7px;
right: 3px;
font-size: 15px;
}

Expand Down

0 comments on commit c2e7fe6

Please sign in to comment.