fix: resolved overflow issue with longer state names (#1444)
This commit is contained in:
parent
7868bfa2b1
commit
d564ea8898
5 changed files with 17 additions and 8 deletions
|
|
@ -23,6 +23,7 @@ type CustomSearchSelectProps = {
|
|||
verticalPosition?: "top" | "bottom";
|
||||
noChevron?: boolean;
|
||||
customButton?: JSX.Element;
|
||||
className?: string;
|
||||
optionsClassName?: string;
|
||||
input?: boolean;
|
||||
disabled?: boolean;
|
||||
|
|
@ -43,6 +44,7 @@ export const CustomSearchSelect = ({
|
|||
verticalPosition = "bottom",
|
||||
noChevron = false,
|
||||
customButton,
|
||||
className = "",
|
||||
optionsClassName = "",
|
||||
input = false,
|
||||
disabled = false,
|
||||
|
|
@ -70,7 +72,7 @@ export const CustomSearchSelect = ({
|
|||
return (
|
||||
<Combobox
|
||||
as="div"
|
||||
className={`${!selfPositioned ? "relative" : ""} flex-shrink-0 text-left`}
|
||||
className={`${!selfPositioned ? "relative" : ""} flex-shrink-0 text-left ${className}`}
|
||||
{...props}
|
||||
>
|
||||
{({ open }: any) => (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue