fix: select atom component relative style
Signed-off-by: Piyush Gupta <piyushguptaa2z123@gmail.com>
This commit is contained in:
committed by
Sacha Al Himdani
parent
d54da02a90
commit
e077b5866f
@@ -119,6 +119,7 @@ export function Select<T>({
|
|||||||
});
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
<div className="relative">
|
||||||
<Root
|
<Root
|
||||||
defaultOpen={defaultOpen}
|
defaultOpen={defaultOpen}
|
||||||
open={open}
|
open={open}
|
||||||
@@ -153,7 +154,9 @@ export function Select<T>({
|
|||||||
"var(--radix-select-content-available-height)",
|
"var(--radix-select-content-available-height)",
|
||||||
...dropdownProps?.style,
|
...dropdownProps?.style,
|
||||||
}}
|
}}
|
||||||
className={content({ className: dropdownProps?.className })}
|
className={content({
|
||||||
|
className: dropdownProps?.className,
|
||||||
|
})}
|
||||||
>
|
>
|
||||||
{onSearch && (
|
{onSearch && (
|
||||||
<Input
|
<Input
|
||||||
@@ -179,6 +182,7 @@ export function Select<T>({
|
|||||||
</Content>
|
</Content>
|
||||||
</Portal>
|
</Portal>
|
||||||
</Root>
|
</Root>
|
||||||
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user