Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Define image tile size as standalone values

dominik-zeglen9d47907d9834
diff --git a/saleor/static/dashboard-next/products/components/ProductImages/ProductImages.tsx b/saleor/static/dashboard-next/products/components/ProductImages/ProductImages.tsx
index cf8e66bbfb..0f23164145 100644
--- a/saleor/static/dashboard-next/products/components/ProductImages/ProductImages.tsx
+++ b/saleor/static/dashboard-next/products/components/ProductImages/ProductImages.tsx
@@ -76,7 +76,7 @@ const decorate = withStyles(theme => ({
background: "#ffffff",
border: "1px solid #eaeaea",
borderRadius: theme.spacing.unit,
- height: theme.spacing.unit * 17.5,
+ height: 140,
overflow: "hidden" as "hidden",
padding: theme.spacing.unit * 2,
position: "relative" as "relative"
@@ -85,12 +85,12 @@ const decorate = withStyles(theme => ({
background: "rgba(0, 0, 0, 0.6)",
cursor: "move",
display: "none" as "none",
- height: theme.spacing.unit * 17.5,
+ height: 140,
left: 0,
padding: theme.spacing.unit * 2,
position: "absolute" as "absolute",
top: 0,
- width: theme.spacing.unit * 17.5
+ width: 140
},
imageOverlayToolbar: {
alignContent: "flex-end",