azri před 1 rokem
rodič
revize
73276603ff
1 změnil soubory, kde provedl 17 přidání a 1 odebrání
  1. 17
    1
      src/components/ProductList/ProductList.jsx

+ 17
- 1
src/components/ProductList/ProductList.jsx Zobrazit soubor

183
               }}
183
               }}
184
             />
184
             />
185
 
185
 
186
-            {(selected) && <Button sx={{ position: "absolute", top: 20, left: 20, boxShadow: 0 }} variant="contained">
186
+            {(selected) && <Button
187
+              sx={{
188
+                position: "absolute",
189
+                top: {
190
+                  xs: 0,
191
+                  sm: 0,
192
+                  md: 20
193
+                },
194
+                left: {
195
+                  xs: 0,
196
+                  sm: 0,
197
+                  md: 20
198
+                },
199
+                boxShadow: 0,
200
+                fontSize: 10
201
+              }} 
202
+              variant="contained">
187
               NEW
203
               NEW
188
             </Button>}
204
             </Button>}
189
 
205
 

Načítá se…
Zrušit
Uložit