Browse Source

change product list font weight

master
azri 1 week ago
parent
commit
f8e630cf52
1 changed files with 21 additions and 18 deletions
  1. 21
    18
      src/components/ProductList/ProductList.jsx

+ 21
- 18
src/components/ProductList/ProductList.jsx View File

206
             </Button>}
206
             </Button>}
207
 
207
 
208
             <Box sx={{ pb: 1, pt: 1, width: "90%" }}>
208
             <Box sx={{ pb: 1, pt: 1, width: "90%" }}>
209
-              <Typography variant="body2" sx={{ fontWeight: "400",fontSize:{
210
-                xs:"0.875rem",
211
-                sm:"0.875rem",
212
-                md:"1.1rem",
213
-              } }}>
209
+              <Typography variant="body2" sx={{
210
+                fontWeight: "100", fontSize: {
211
+                  xs: "0.875rem",
212
+                  sm: "0.875rem",
213
+                  md: "1.1rem",
214
+                }
215
+              }}>
214
                 {collection_name}
216
                 {collection_name}
215
               </Typography>
217
               </Typography>
216
-              <Typography variant="body2" sx={{ fontWeight: "bolder", fontSize:{
217
-                xs:"0.875rem",
218
-                sm:"0.875rem",
219
-                md:"1.1rem",
220
-              }}}>
218
+              <Typography variant="body2" sx={{
219
+                fontWeight: "400", fontSize: {
220
+                  xs: "0.875rem",
221
+                  sm: "0.875rem",
222
+                  md: "1.1rem",
223
+                }
224
+              }}>
221
                 {title}
225
                 {title}
222
               </Typography>
226
               </Typography>
223
-              <Typography variant="body2" sx={{ fontWeight: "400", fontSize:{
224
-                xs:"0.875rem",
225
-                sm:"0.875rem",
226
-                md:"1.1rem",
227
-              } }}>
227
+              <Typography variant="body2" sx={{
228
+                fontWeight: "100", fontSize: {
229
+                  xs: "0.875rem",
230
+                  sm: "0.875rem",
231
+                  md: "1.1rem",
232
+                }
233
+              }}>
228
                 {`${minPriceCurrency} ${parseFloat(minPrice).toFixed(2)}`}
234
                 {`${minPriceCurrency} ${parseFloat(minPrice).toFixed(2)}`}
229
               </Typography>
235
               </Typography>
230
-              <Typography variant="body2" sx={{ mt: 2 }}>
231
-                {extra_desc}
232
-              </Typography>
233
             </Box>
236
             </Box>
234
           </Box>
237
           </Box>
235
         </a>
238
         </a>

Loading…
Cancel
Save