From 80649c9f1a25fff6681e066d546c124b5846e9cc Mon Sep 17 00:00:00 2001 From: Parth Sharma <41260660+ParthSharma99@users.noreply.github.com> Date: Fri, 19 May 2023 12:16:06 +0530 Subject: [PATCH] fix height issue (#8973) --- packages/ui/components/form/select/Select.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/ui/components/form/select/Select.tsx b/packages/ui/components/form/select/Select.tsx index e5cd7c03f4..1a13a1295c 100644 --- a/packages/ui/components/form/select/Select.tsx +++ b/packages/ui/components/form/select/Select.tsx @@ -54,11 +54,11 @@ export const Select = < "bg-default border-default !min-h-9 h-9 text-sm leading-4 placeholder:text-sm placeholder:font-normal focus-within:ring-2 focus-within:ring-emphasis hover:border-emphasis rounded-md border ", state.isMulti ? variant === "checkbox" - ? "px-3 py-2" + ? "px-3 py-2 h-fit" : state.hasValue - ? "p-1" - : "px-3 py-2" - : "py-2 px-3", + ? "p-1 h-fit" + : "px-3 py-2 h-fit" + : "py-2 px-3 h-fit", props.isDisabled && "bg-subtle", props.classNames?.control ),