Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

Fix double scrollbar in dropdown

AymanAlSuleihi491716f4dd9b
diff --git a/src/components/input/WebsiteSelect.tsx b/src/components/input/WebsiteSelect.tsx
index 8d81eb9a0..04c773a71 100644
--- a/src/components/input/WebsiteSelect.tsx
+++ b/src/components/input/WebsiteSelect.tsx
@@ -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>}