From 8aad883c217d379a5eed8f27989f46a1f45dcee0 Mon Sep 17 00:00:00 2001 From: Aarnav Tale Date: Wed, 20 Nov 2024 18:13:49 -0500 Subject: [PATCH] fix: make selects scrollable --- app/components/Select.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/Select.tsx b/app/components/Select.tsx index 1211ea0..fd5f012 100644 --- a/app/components/Select.tsx +++ b/app/components/Select.tsx @@ -46,7 +46,7 @@ function Select(props: SelectProps) { className={cn( 'mt-2 rounded-md w-[var(--trigger-width)]', 'bg-ui-100 dark:bg-ui-800 shadow-sm', - 'overflow-hidden z-50', + 'z-50 overflow-y-auto', 'border border-ui-200 dark:border-ui-600', 'entering:animate-in exiting:animate-out', 'entering:fade-in entering:zoom-in-95', @@ -54,7 +54,7 @@ function Select(props: SelectProps) { 'fill-mode-forwards origin-left-right', )} > - + {props.children}