fix height issue (#8973)
parent
7dd75afb63
commit
80649c9f1a
|
@ -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
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue