fix height issue (#8973)

pull/8983/head
Parth Sharma 2023-05-19 12:16:06 +05:30 committed by GitHub
parent 7dd75afb63
commit 80649c9f1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -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 ", "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 state.isMulti
? variant === "checkbox" ? variant === "checkbox"
? "px-3 py-2" ? "px-3 py-2 h-fit"
: state.hasValue : state.hasValue
? "p-1" ? "p-1 h-fit"
: "px-3 py-2" : "px-3 py-2 h-fit"
: "py-2 px-3", : "py-2 px-3 h-fit",
props.isDisabled && "bg-subtle", props.isDisabled && "bg-subtle",
props.classNames?.control props.classNames?.control
), ),