enhance(ui):
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user