Quellcode durchsuchen

revert back sidecart design

master
azri vor 1 Monat
Ursprung
Commit
4c2ad60d5a
1 geänderte Dateien mit 14 neuen und 14 gelöschten Zeilen
  1. 14
    14
      src/components/SideCart/SideCart.jsx

+ 14
- 14
src/components/SideCart/SideCart.jsx Datei anzeigen

@@ -93,7 +93,7 @@ const SideCart = ({ open, onClose }) => {
93 93
                   >
94 94
                     <Grid container>
95 95
                       {/* Product Image */}
96
-                      <Grid item size={3}>
96
+                      <Grid item size={2}>
97 97
                         <Box
98 98
                           component="img"
99 99
                           src={merchandise?.image?.src}
@@ -107,32 +107,32 @@ const SideCart = ({ open, onClose }) => {
107 107
                       </Grid>
108 108
 
109 109
                       {/* Product Details */}
110
-                      <Grid item size={9} sx={{ paddingLeft: 1 }}>
110
+                      <Grid item size={10} sx={{ paddingLeft: 1 }}>
111 111
                         <Typography variant="body2" sx={{
112 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 118
                           {product?.title}
119 119
                         </Typography>
120 120
                         <Typography variant="body2" sx={{
121 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 126
                         }}>{`VARIANT: ${title}`}</Typography>
127 127
 
128 128
                         <Box sx={{ display: "flex", alignItems: "center" }}>
129 129
 
130 130
                           <Typography variant="body2" sx={{
131 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 136
                           }}>{`${currencyCode} ${parseFloat(amount).toFixed(2)}`}</Typography>
137 137
 
138 138
                           <Box sx={{ display: "flex", ml: "auto" }}>

Laden…
Abbrechen
Speichern