Skip to content

Commit 58880b6

Browse files
authored
Merge pull request #3939 from AymanAlSuleihi/master
Fix double scrollbar in dropdown
2 parents 42d0594 + 491716f commit 58880b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/input/WebsiteSelect.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export function WebsiteSelect({
6565
renderValue={renderValue}
6666
listProps={{
6767
renderEmptyState: () => <Empty message={formatMessage(messages.noResultsFound)} />,
68-
style: { maxHeight: '400px' },
68+
style: { maxHeight: 'calc(42vh - 65px)' },
6969
}}
7070
>
7171
{({ id, name }: any) => <ListItem key={id}>{name}</ListItem>}

0 commit comments

Comments
 (0)