Browse Source

revert back sidecart design

master
azri 1 month ago
parent
commit
4c2ad60d5a
1 changed files with 14 additions and 14 deletions
  1. 14
    14
      src/components/SideCart/SideCart.jsx

+ 14
- 14
src/components/SideCart/SideCart.jsx View File

93
                   >
93
                   >
94
                     <Grid container>
94
                     <Grid container>
95
                       {/* Product Image */}
95
                       {/* Product Image */}
96
-                      <Grid item size={3}>
96
+                      <Grid item size={2}>
97
                         <Box
97
                         <Box
98
                           component="img"
98
                           component="img"
99
                           src={merchandise?.image?.src}
99
                           src={merchandise?.image?.src}
107
                       </Grid>
107
                       </Grid>
108
 
108
 
109
                       {/* Product Details */}
109
                       {/* Product Details */}
110
-                      <Grid item size={9} sx={{ paddingLeft: 1 }}>
110
+                      <Grid item size={10} sx={{ paddingLeft: 1 }}>
111
                         <Typography variant="body2" sx={{
111
                         <Typography variant="body2" sx={{
112
                           fontWeight: "400", fontSize: {
112
                           fontWeight: "400", fontSize: {
113
-                            xs: "0.73rem",
114
-                            sm: "0.73rem",
115
-                            md: "0.875rem",
116
-                          },
113
+                            xs: "0.875rem",
114
+                            sm: "0.875rem",
115
+                            md: "1.1rem",
116
+                          }
117
                         }}>
117
                         }}>
118
                           {product?.title}
118
                           {product?.title}
119
                         </Typography>
119
                         </Typography>
120
                         <Typography variant="body2" sx={{
120
                         <Typography variant="body2" sx={{
121
                           fontWeight: "100", fontSize: {
121
                           fontWeight: "100", fontSize: {
122
-                            xs: "0.73rem",
123
-                            sm: "0.73rem",
124
-                            md: "0.875rem",
125
-                          },
122
+                            xs: "0.875rem",
123
+                            sm: "0.875rem",
124
+                            md: "1.1rem",
125
+                          }
126
                         }}>{`VARIANT: ${title}`}</Typography>
126
                         }}>{`VARIANT: ${title}`}</Typography>
127
 
127
 
128
                         <Box sx={{ display: "flex", alignItems: "center" }}>
128
                         <Box sx={{ display: "flex", alignItems: "center" }}>
129
 
129
 
130
                           <Typography variant="body2" sx={{
130
                           <Typography variant="body2" sx={{
131
                             fontWeight: "100", fontSize: {
131
                             fontWeight: "100", fontSize: {
132
-                              xs: "0.73rem",
133
-                              sm: "0.73rem",
134
-                              md: "0.875rem",
135
-                            },
132
+                              xs: "0.875rem",
133
+                              sm: "0.875rem",
134
+                              md: "1.1rem",
135
+                            }
136
                           }}>{`${currencyCode} ${parseFloat(amount).toFixed(2)}`}</Typography>
136
                           }}>{`${currencyCode} ${parseFloat(amount).toFixed(2)}`}</Typography>
137
 
137
 
138
                           <Box sx={{ display: "flex", ml: "auto" }}>
138
                           <Box sx={{ display: "flex", ml: "auto" }}>

Loading…
Cancel
Save