Преглед изворни кода

change product list font weight

master
azri пре 1 недеља
родитељ
комит
f8e630cf52
1 измењених фајлова са 21 додато и 18 уклоњено
  1. 21
    18
      src/components/ProductList/ProductList.jsx

+ 21
- 18
src/components/ProductList/ProductList.jsx Прегледај датотеку

@@ -206,30 +206,33 @@ const ProductList = ({ size = 99999 }) => {
206 206
             </Button>}
207 207
 
208 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 216
                 {collection_name}
215 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 225
                 {title}
222 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 234
                 {`${minPriceCurrency} ${parseFloat(minPrice).toFixed(2)}`}
229 235
               </Typography>
230
-              <Typography variant="body2" sx={{ mt: 2 }}>
231
-                {extra_desc}
232
-              </Typography>
233 236
             </Box>
234 237
           </Box>
235 238
         </a>

Loading…
Откажи
Сачувај