Skip to content

Commit e9faf5b

Browse files
committed
Fix webhook dropdown scrolling by wrapping content in scrollable div
1 parent f3aebed commit e9faf5b

File tree

1 file changed

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

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,9 +323,8 @@ export function FilterDetailsStep({
323323
: null}
324324
</SelectValue>
325325
</SelectTrigger>
326-
<SelectContent className="max-h-60 overflow-y-auto">
326+
<SelectContent className="max-h-60 max-w-md overflow-y-auto">
327327
{eventSignatures.map((event) => {
328-
// Truncate the hash for display purposes
329328
const truncatedHash = truncateMiddle(
330329
event.signature,
331330
6,
@@ -373,7 +372,7 @@ export function FilterDetailsStep({
373372
: null}
374373
</SelectValue>
375374
</SelectTrigger>
376-
<SelectContent className="max-h-60 max-w-[600px] overflow-y-auto">
375+
<SelectContent className="max-h-60 max-w-md overflow-y-auto">
377376
{functionSignatures.map((func) => (
378377
<SelectItem
379378
key={func.signature}

0 commit comments

Comments
 (0)