fix: Dropdown overflow
This commit is contained in:
parent
43621b4038
commit
2c9de654a2
1 changed files with 1 additions and 5 deletions
|
|
@ -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}>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue