|
@@ -94,10 +94,23 @@ const SearchProduct = ({onClose}) => {
|
94
|
94
|
>
|
95
|
95
|
{searchedProducts.length > 0 ? (
|
96
|
96
|
searchedProducts.map((product) => (
|
97
|
|
- <Grid className="animate__animated animate__fadeIn" item size={{ xs: 12, sm: 12, md: 6 }} sx={{p:1}}>
|
|
97
|
+ <Grid className="animate__animated animate__fadeIn" item size={12}>
|
98
|
98
|
<Card
|
99
|
99
|
key={product.id}
|
100
|
|
- sx={{ display: 'flex', alignItems: 'center', p: 2, cursor:"pointer" }}
|
|
100
|
+ sx={{
|
|
101
|
+ display: 'flex',
|
|
102
|
+ alignItems: 'center',
|
|
103
|
+ py: 2,
|
|
104
|
+ px: 12.5,
|
|
105
|
+ cursor: "pointer",
|
|
106
|
+ backgroundColor: "rgba(255,255,255,0.2)",
|
|
107
|
+ boxShadow: "none",
|
|
108
|
+ borderBottom: "1px solid rgba(0,0,0,0.2)",
|
|
109
|
+ transition: "all 0.3s ease-in-out",
|
|
110
|
+ ":hover": {
|
|
111
|
+ backgroundColor: "#95AAC5"
|
|
112
|
+ }
|
|
113
|
+ }}
|
101
|
114
|
onClick={() => {
|
102
|
115
|
window.location.href = `/products/${product?.handle}`
|
103
|
116
|
}}
|