enhance(ui):
This commit is contained in:
parent
6d97d437a2
commit
019652ca67
|
@ -14,3 +14,6 @@
|
|||
overflow-y: auto;
|
||||
min-height: 0;
|
||||
}
|
||||
.product-item {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
|
|
@ -91,7 +91,13 @@ function ProductItem(props: ProductItemProps) {
|
|||
}, [props.id, selected, append, remove]);
|
||||
|
||||
return (
|
||||
<Box px="sm" py="xs" bg={selected ? "green" : "gray"} onClick={handleSelectAction}>
|
||||
<Box
|
||||
px="sm"
|
||||
py="xs"
|
||||
bg={selected ? "green" : "gray"}
|
||||
className={classes["product-item"]}
|
||||
onClick={handleSelectAction}
|
||||
>
|
||||
<Text size="xs" c={selected ? "white" : "gray"}>
|
||||
{props.name}
|
||||
</Text>
|
||||
|
|
Loading…
Reference in New Issue
Block a user