Skip to content

Scheduling infrastructure for absolutely everyone.

fix(createButton): add scrolling to empty webhook dropdown (#20191)

Abdullah Arif24c993a3d299
diff --git a/packages/features/ee/teams/components/createButton/CreateButton.tsx b/packages/features/ee/teams/components/createButton/CreateButton.tsx
index e1c05e49c87..950741e62e9 100644
--- a/packages/features/ee/teams/components/createButton/CreateButton.tsx
+++ b/packages/features/ee/teams/components/createButton/CreateButton.tsx
@@ -107,7 +107,7 @@ export function CreateButton(props: CreateBtnProps) {
{buttonText ? buttonText : t("new")}
</Button>
</DropdownMenuTrigger>
- <DropdownMenuContent sideOffset={14} align="end">
+ <DropdownMenuContent sideOffset={14} align="end" className="scroll-bar max-h-60 overflow-y-auto">
<DropdownMenuLabel>
<div className="w-48 text-left text-xs">{subtitle}</div>
</DropdownMenuLabel>