Bläddra i källkod

font size change

master
azri 1 månad sedan
förälder
incheckning
53f61e2ade

+ 12
- 12
src/components/ProductHistoryList/ProductHistoryList.jsx Visa fil

@@ -72,28 +72,28 @@ const ProductHistoryList = () => {
72 72
             <Box sx={{ pb: 3, pt: 1, width: "90%" }}>
73 73
               <Typography variant="body2" sx={{
74 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 80
                 {collection_name}
81 81
               </Typography>
82 82
               <Typography variant="body2" sx={{
83 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 89
                 {title}
90 90
               </Typography>
91 91
               <Typography variant="body2" sx={{
92 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 98
                 {`${minPriceCurrency} ${parseFloat(minPrice).toFixed(2)}`}
99 99
               </Typography>

+ 12
- 12
src/components/ProductSelected/ProductSelected.jsx Visa fil

@@ -99,28 +99,28 @@ const ProductSelected = () => {
99 99
             <Box sx={{ pb: 1, pt: 1, width: "90%" }}>
100 100
               <Typography variant="body2" sx={{
101 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 107
                 {collection_name}
108 108
               </Typography>
109 109
               <Typography variant="body2" sx={{
110 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 116
                 {title}
117 117
               </Typography>
118 118
               <Typography variant="body2" sx={{
119 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 125
                 {`${minPriceCurrency} ${parseFloat(minPrice).toFixed(2)}`}
126 126
               </Typography>

+ 9
- 9
src/components/ProductSuggestion/ProductSuggestion.jsx Visa fil

@@ -93,9 +93,9 @@ const ProductSuggestion = () => {
93 93
               sx={{
94 94
                 fontWeight: "100",
95 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,9 +106,9 @@ const ProductSuggestion = () => {
106 106
               sx={{
107 107
                 fontWeight: "400",
108 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,9 +119,9 @@ const ProductSuggestion = () => {
119 119
               sx={{
120 120
                 fontWeight: "100",
121 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 Visa fil

@@ -93,7 +93,7 @@ const SideCart = ({ open, onClose }) => {
93 93
                   >
94 94
                     <Grid container>
95 95
                       {/* Product Image */}
96
-                      <Grid item size={2}>
96
+                      <Grid item size={3}>
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={10} sx={{ paddingLeft: 1 }}>
110
+                      <Grid item size={9} sx={{ paddingLeft: 1 }}>
111 111
                         <Typography variant="body2" sx={{
112 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 118
                           {product?.title}
119 119
                         </Typography>
120 120
                         <Typography variant="body2" sx={{
121 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 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.875rem",
133
-                              sm: "0.875rem",
134
-                              md: "1.1rem",
135
-                            }
132
+                              xs: "0.73rem",
133
+                              sm: "0.73rem",
134
+                              md: "0.875rem",
135
+                            },
136 136
                           }}>{`${currencyCode} ${parseFloat(amount).toFixed(2)}`}</Typography>
137 137
 
138 138
                           <Box sx={{ display: "flex", ml: "auto" }}>

Laddar…
Avbryt
Spara