From c897ce2f603024f12ff67b313d0f77314bf353ca Mon Sep 17 00:00:00 2001 From: Lordfirespeed <28568841+Lordfirespeed@users.noreply.github.com> Date: Mon, 30 Sep 2024 07:01:14 +0100 Subject: [PATCH] tweak(select): copy some styles from combobox --- src/components/ui/select.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/ui/select.tsx b/src/components/ui/select.tsx index 83228f7..e602981 100644 --- a/src/components/ui/select.tsx +++ b/src/components/ui/select.tsx @@ -23,14 +23,14 @@ const SelectTrigger = React.forwardRef< span]:line-clamp-1", + "inline-flex h-10 lg:h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-4 py-2 text-base lg:text-sm shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1", className )} {...props} > {children} - + )) @@ -151,6 +151,7 @@ export { Select, SelectGroup, SelectValue, + SelectValueClipper, SelectTrigger, SelectContent, SelectLabel,