Merge pull request #3939 from AymanAlSuleihi/master

Fix double scrollbar in dropdown
This commit is contained in:
Mike Cao 2026-01-06 17:24:38 -08:00 committed by GitHub
commit 58880b6a5f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -65,7 +65,7 @@ export function WebsiteSelect({
renderValue={renderValue}
listProps={{
renderEmptyState: () => <Empty message={formatMessage(messages.noResultsFound)} />,
style: { maxHeight: '400px' },
style: { maxHeight: 'calc(42vh - 65px)' },
}}
>
{({ id, name }: any) => <ListItem key={id}>{name}</ListItem>}