fix: Dropdown overflow

This commit is contained in:
LynithDev 2024-06-16 13:07:45 +02:00
parent 43621b4038
commit 2c9de654a2

View file

@ -29,7 +29,7 @@ function Dropdown(props: DropdownProps) {
iconRight={<ChevronDownIcon />}
>
<div
class="w-full h-full mt-px"
class="flex-1 h-full mt-px overflow-hidden"
>
{items()[selected()]}
</div>
@ -60,10 +60,6 @@ function Dropdown(props: DropdownProps) {
);
}
interface DropdownRowProps {
iconLeft?: JSX.Element;
};
Dropdown.Row = function (props: ParentProps) {
return (
<div class={styles.row}>