Skip to content

Commit 161672c

Browse files
committed
chore: minor ui style tweaks and fixes
1 parent 136d901 commit 161672c

File tree

3 files changed

+3
-1
lines changed
  • apps/web/src/app/(private)/settings/_components/Webhooks
  • packages/web-ui/src/ds/molecules/MultiSelect

3 files changed

+3
-1
lines changed

apps/web/src/app/(private)/settings/_components/Webhooks/Edit.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ export default function EditWebhook() {
100100

101101
<div className='py-2'>
102102
<MultiSelect
103+
maxCount={2}
103104
description='You can filter webhook events by project to limit the scope of the notifications.'
104105
info='Leave empty to apply to all projects'
105106
label='Projects'

apps/web/src/app/(private)/settings/_components/Webhooks/New.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ export default function NewWebhook() {
7575

7676
<div className='py-2'>
7777
<MultiSelect
78+
maxCount={2}
7879
description='You can filter webhook events by project to limit the scope of the notifications.'
7980
info='Leave empty to apply to all projects'
8081
label='Projects'

packages/web-ui/src/ds/molecules/MultiSelect/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ export const MultiSelect = React.forwardRef<
156156
{...props}
157157
onClick={handleTogglePopover}
158158
className={cn(
159-
'flex w-full p-0 h-8 py-2 px-2 rounded-md border items-center justify-between bg-inherit hover:bg-inherit [&_svg]:pointer-events-auto',
159+
'flex w-full p-0 h-8 py-2 px-2 rounded-md border items-center justify-between bg-inherit hover:bg-inherit [&_svg]:pointer-events-auto overflow-y-auto',
160160
className,
161161
)}
162162
>

0 commit comments

Comments
 (0)