mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-24 06:01:02 +00:00
Overflow fix
This commit is contained in:
@@ -34,14 +34,16 @@ export function ItemList(props: ItemListProps) {
|
||||
</p>*/}
|
||||
</div>
|
||||
|
||||
<div className="grid gap-2 overflow-auto max-h-40 mt-2 mb-2">
|
||||
<div className="grid gap-2 overflow-auto overflow-x-hidden max-h-45 mt-2 mb-2">
|
||||
{props.items.map((item, index) => {
|
||||
return (
|
||||
<div
|
||||
key={`item-list-item-${index}-${item}`}
|
||||
className="flex gap-3 items-center"
|
||||
className="flex gap-3 items-center min-w-0"
|
||||
>
|
||||
<Label className="flex-1 text-left">{item}</Label>
|
||||
<Label className="flex-1 text-left truncate min-w-0">
|
||||
{item}
|
||||
</Label>
|
||||
<Button
|
||||
onClick={() => removeItem(index)}
|
||||
variant="ghost"
|
||||
|
||||
Reference in New Issue
Block a user