Skip to content

Commit

Permalink
style(Tabs): 收缩菜单样式调整 (#640)
Browse files Browse the repository at this point in the history
  • Loading branch information
nullptr-z committed Mar 9, 2022
1 parent 8735f85 commit ac8a9a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/react-search-select/src/index.tsx
Expand Up @@ -148,7 +148,6 @@ export default function SearchSelect(props: SearchSelectProps) {
function renderSelectIcon(type: string) {
let selectIconType;
if (type === 'enter' && allowClear && selectedValue) {
console.log(123);
selectIconType = 'close';
} else {
selectIconType = '';
Expand Down
7 changes: 5 additions & 2 deletions packages/react-tabs/src/style/index.less
Expand Up @@ -11,10 +11,13 @@
}
&-nav-hidden {
display: flex;
overflow-x: scroll;
padding: 5px 30px 5px 5px;
overflow-y: auto;
padding: 5px 10px 5px 5px;
max-height: 200px;
flex-direction: column;
:hover {
background: #d9d9d9;
}
}
&-item {
padding: 7px 10px;
Expand Down

0 comments on commit ac8a9a1

Please sign in to comment.