Web:Common:AdvancedSelector: fix padding right and show scroll for big options list
This commit is contained in:
parent
57ec3f4e34
commit
60cee8e7c9
@ -382,7 +382,7 @@ const Selector = (props) => {
|
||||
<AutoSizer>
|
||||
{({ width, height }) => (
|
||||
<List
|
||||
className="options_list"
|
||||
className="options-list"
|
||||
height={height - 8}
|
||||
width={width + 8}
|
||||
itemCount={groups.length}
|
||||
@ -456,7 +456,7 @@ const Selector = (props) => {
|
||||
>
|
||||
{({ onItemsRendered, ref }) => (
|
||||
<List
|
||||
className="options_list"
|
||||
className="options-list"
|
||||
height={height - 25}
|
||||
itemCount={itemCount}
|
||||
itemSize={48}
|
||||
@ -495,11 +495,7 @@ const Selector = (props) => {
|
||||
headerLabel={headerLabel}
|
||||
onArrowClickAction={onArrowClickAction}
|
||||
/>
|
||||
<div
|
||||
style={{ width: "320px", height: "100%" }}
|
||||
className="column-options"
|
||||
size={size}
|
||||
>
|
||||
<div style={{ height: "100%" }} className="column-options" size={size}>
|
||||
<Search
|
||||
isDisabled={isDisabled}
|
||||
placeholder={searchPlaceHolderLabel}
|
||||
|
@ -104,6 +104,12 @@ const StyledSelector = styled.div`
|
||||
grid-area: body-options;
|
||||
margin-top: 8px;
|
||||
|
||||
.options-list {
|
||||
div:nth-child(3) {
|
||||
right: 10px !important;
|
||||
}
|
||||
}
|
||||
|
||||
.row-option {
|
||||
box-sizing: border-box;
|
||||
height: 48px;
|
||||
|
Loading…
Reference in New Issue
Block a user