Skip to content

Commit 1aa5b11

Browse files
author
Amine Afia
committed
Add scrollable overflow to webhook filter select dropdowns
1 parent c336de3 commit 1aa5b11

File tree

1 file changed

+2
-2
lines changed
  • apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/webhooks/components

1 file changed

+2
-2
lines changed

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/webhooks/components/FilterDetailsStep.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ export function FilterDetailsStep({
323323
: null}
324324
</SelectValue>
325325
</SelectTrigger>
326-
<SelectContent>
326+
<SelectContent className="max-h-60 overflow-y-auto">
327327
{eventSignatures.map((event) => {
328328
// Truncate the hash for display purposes
329329
const truncatedHash = truncateMiddle(
@@ -373,7 +373,7 @@ export function FilterDetailsStep({
373373
: null}
374374
</SelectValue>
375375
</SelectTrigger>
376-
<SelectContent className="max-w-[600px]">
376+
<SelectContent className="max-h-60 max-w-[600px] overflow-y-auto">
377377
{functionSignatures.map((func) => (
378378
<SelectItem
379379
key={func.signature}

0 commit comments

Comments
 (0)