Skip to content

Commit

Permalink
fix(filter-picker): set width of List to 100% (#1951)
Browse files Browse the repository at this point in the history
Co-authored-by: maxin <maxin@growingio.com>
  • Loading branch information
nnmax and maxin authored Apr 7, 2022
1 parent 225fb6e commit f06803f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,12 @@ function ListAttrSelect(props: ListAttrSelectProps) {
case 'not hasAny':
return (
<div style={{ height: '330px' }}>
<Input placeholder={textObject.pleaseEnter} value={inputValue} onChange={changInputValue} style={{width: '100%'}}/>
<Input
placeholder={textObject.pleaseEnter}
value={inputValue}
onChange={changInputValue}
style={{ width: '100%' }}
/>
{loadingStatue ? (
<div
style={{
Expand All @@ -146,7 +151,7 @@ function ListAttrSelect(props: ListAttrSelectProps) {
stateless
value={checkValue}
dataSource={checkOptions}
width={293}
width="100%"
height={270}
onClick={changeCheckValue}
/>
Expand Down
1 change: 1 addition & 0 deletions src/legacy/select/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@
min-width: 160px;
padding: 16px 0 16px 8px;
outline: none;
.scrollbar();
}

.@{select-prefix-cls-legacy}-list-option {
Expand Down

1 comment on commit f06803f

@vercel
Copy link

@vercel vercel bot commented on f06803f Apr 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

gio-design – ./

gio-design-growingio.vercel.app
gio-design-git-master-growingio.vercel.app
gio-design.vercel.app

Please sign in to comment.