Browse Source

font size change

master
azri 1 month ago
parent
commit
53f61e2ade

+ 12
- 12
src/components/ProductHistoryList/ProductHistoryList.jsx View File

72
             <Box sx={{ pb: 3, pt: 1, width: "90%" }}>
72
             <Box sx={{ pb: 3, pt: 1, width: "90%" }}>
73
               <Typography variant="body2" sx={{
73
               <Typography variant="body2" sx={{
74
                 fontWeight: "100", fontSize: {
74
                 fontWeight: "100", fontSize: {
75
-                  xs: "0.875rem",
76
-                  sm: "0.875rem",
77
-                  md: "1.1rem",
78
-                }
75
+                  xs: "0.65rem",
76
+                  sm: "0.65rem",
77
+                  md: "0.75rem",
78
+                },
79
               }}>
79
               }}>
80
                 {collection_name}
80
                 {collection_name}
81
               </Typography>
81
               </Typography>
82
               <Typography variant="body2" sx={{
82
               <Typography variant="body2" sx={{
83
                 fontWeight: "400", fontSize: {
83
                 fontWeight: "400", fontSize: {
84
-                  xs: "0.875rem",
85
-                  sm: "0.875rem",
86
-                  md: "1.1rem",
87
-                }
84
+                  xs: "0.73rem",
85
+                  sm: "0.73rem",
86
+                  md: "0.875rem",
87
+                },
88
               }}>
88
               }}>
89
                 {title}
89
                 {title}
90
               </Typography>
90
               </Typography>
91
               <Typography variant="body2" sx={{
91
               <Typography variant="body2" sx={{
92
                 fontWeight: "100", fontSize: {
92
                 fontWeight: "100", fontSize: {
93
-                  xs: "0.875rem",
94
-                  sm: "0.875rem",
95
-                  md: "1.1rem",
96
-                }
93
+                  xs: "0.73rem",
94
+                  sm: "0.73rem",
95
+                  md: "0.875rem",
96
+                },
97
               }}>
97
               }}>
98
                 {`${minPriceCurrency} ${parseFloat(minPrice).toFixed(2)}`}
98
                 {`${minPriceCurrency} ${parseFloat(minPrice).toFixed(2)}`}
99
               </Typography>
99
               </Typography>

+ 12
- 12
src/components/ProductSelected/ProductSelected.jsx View File

99
             <Box sx={{ pb: 1, pt: 1, width: "90%" }}>
99
             <Box sx={{ pb: 1, pt: 1, width: "90%" }}>
100
               <Typography variant="body2" sx={{
100
               <Typography variant="body2" sx={{
101
                 fontWeight: "100", fontSize: {
101
                 fontWeight: "100", fontSize: {
102
-                  xs: "0.875rem",
103
-                  sm: "0.875rem",
104
-                  md: "1.1rem",
105
-                }
102
+                  xs: "0.65rem",
103
+                  sm: "0.65rem",
104
+                  md: "0.75rem",
105
+                },
106
               }}>
106
               }}>
107
                 {collection_name}
107
                 {collection_name}
108
               </Typography>
108
               </Typography>
109
               <Typography variant="body2" sx={{
109
               <Typography variant="body2" sx={{
110
                 fontWeight: "400", fontSize: {
110
                 fontWeight: "400", fontSize: {
111
-                  xs: "0.875rem",
112
-                  sm: "0.875rem",
113
-                  md: "1.1rem",
114
-                }
111
+                  xs: "0.73rem",
112
+                  sm: "0.73rem",
113
+                  md: "0.875rem",
114
+                },
115
               }}>
115
               }}>
116
                 {title}
116
                 {title}
117
               </Typography>
117
               </Typography>
118
               <Typography variant="body2" sx={{
118
               <Typography variant="body2" sx={{
119
                 fontWeight: "100", fontSize: {
119
                 fontWeight: "100", fontSize: {
120
-                  xs: "0.875rem",
121
-                  sm: "0.875rem",
122
-                  md: "1.1rem",
123
-                }
120
+                  xs: "0.73rem",
121
+                  sm: "0.73rem",
122
+                  md: "0.875rem",
123
+                },
124
               }}>
124
               }}>
125
                 {`${minPriceCurrency} ${parseFloat(minPrice).toFixed(2)}`}
125
                 {`${minPriceCurrency} ${parseFloat(minPrice).toFixed(2)}`}
126
               </Typography>
126
               </Typography>

+ 9
- 9
src/components/ProductSuggestion/ProductSuggestion.jsx View File

93
               sx={{
93
               sx={{
94
                 fontWeight: "100",
94
                 fontWeight: "100",
95
                 fontSize: {
95
                 fontSize: {
96
-                  xs: "0.875rem",
97
-                  sm: "0.875rem",
98
-                  md: "1.1rem",
96
+                  xs: "0.65rem",
97
+                  sm: "0.65rem",
98
+                  md: "0.75rem",
99
                 },
99
                 },
100
               }}
100
               }}
101
             >
101
             >
106
               sx={{
106
               sx={{
107
                 fontWeight: "400",
107
                 fontWeight: "400",
108
                 fontSize: {
108
                 fontSize: {
109
-                  xs: "0.875rem",
110
-                  sm: "0.875rem",
111
-                  md: "1.1rem",
109
+                  xs: "0.73rem",
110
+                  sm: "0.73rem",
111
+                  md: "0.875rem",
112
                 },
112
                 },
113
               }}
113
               }}
114
             >
114
             >
119
               sx={{
119
               sx={{
120
                 fontWeight: "100",
120
                 fontWeight: "100",
121
                 fontSize: {
121
                 fontSize: {
122
-                  xs: "0.875rem",
123
-                  sm: "0.875rem",
124
-                  md: "1.1rem",
122
+                  xs: "0.73rem",
123
+                  sm: "0.73rem",
124
+                  md: "0.875rem",
125
                 },
125
                 },
126
               }}
126
               }}
127
             >
127
             >

+ 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={2}>
96
+                      <Grid item size={3}>
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={10} sx={{ paddingLeft: 1 }}>
110
+                      <Grid item size={9} sx={{ paddingLeft: 1 }}>
111
                         <Typography variant="body2" sx={{
111
                         <Typography variant="body2" sx={{
112
                           fontWeight: "400", fontSize: {
112
                           fontWeight: "400", fontSize: {
113
-                            xs: "0.875rem",
114
-                            sm: "0.875rem",
115
-                            md: "1.1rem",
116
-                          }
113
+                            xs: "0.73rem",
114
+                            sm: "0.73rem",
115
+                            md: "0.875rem",
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.875rem",
123
-                            sm: "0.875rem",
124
-                            md: "1.1rem",
125
-                          }
122
+                            xs: "0.73rem",
123
+                            sm: "0.73rem",
124
+                            md: "0.875rem",
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.875rem",
133
-                              sm: "0.875rem",
134
-                              md: "1.1rem",
135
-                            }
132
+                              xs: "0.73rem",
133
+                              sm: "0.73rem",
134
+                              md: "0.875rem",
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