Skip to content

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

Use integer proportions

dominik-zeglendfeda4a95473
diff --git a/saleor/static/dashboard-next/orders/components/OrderDetailsPage/OrderDetailsPage.tsx b/saleor/static/dashboard-next/orders/components/OrderDetailsPage/OrderDetailsPage.tsx
index 9cfc686927..6adb504cb1 100644
--- a/saleor/static/dashboard-next/orders/components/OrderDetailsPage/OrderDetailsPage.tsx
+++ b/saleor/static/dashboard-next/orders/components/OrderDetailsPage/OrderDetailsPage.tsx
@@ -159,7 +159,7 @@ const decorate = withStyles(theme => ({
root: {
display: "grid",
gridColumnGap: theme.spacing.unit * 2 + "px",
- gridTemplateColumns: "2.25fr 1fr"
+ gridTemplateColumns: "9fr 4fr"
}
}));
class OrderDetailsPageComponent extends React.Component<
diff --git a/saleor/static/dashboard-next/products/components/ProductCreatePage/ProductCreatePage.tsx b/saleor/static/dashboard-next/products/components/ProductCreatePage/ProductCreatePage.tsx
index e0af914950..59800da6c7 100644
--- a/saleor/static/dashboard-next/products/components/ProductCreatePage/ProductCreatePage.tsx
+++ b/saleor/static/dashboard-next/products/components/ProductCreatePage/ProductCreatePage.tsx
@@ -85,7 +85,7 @@ const decorate = withStyles(theme => ({
root: {
display: "grid",
gridGap: theme.spacing.unit * 2 + "px",
- gridTemplateColumns: "2.25fr 1fr",
+ gridTemplateColumns: "9fr 4fr",
marginTop: theme.spacing.unit * 2,
[theme.breakpoints.down("sm")]: {
gridGap: theme.spacing.unit + "px",
diff --git a/saleor/static/dashboard-next/products/components/ProductImagePage/ProductImagePage.tsx b/saleor/static/dashboard-next/products/components/ProductImagePage/ProductImagePage.tsx
index 4756fe18b4..9da6aa38e5 100644
--- a/saleor/static/dashboard-next/products/components/ProductImagePage/ProductImagePage.tsx
+++ b/saleor/static/dashboard-next/products/components/ProductImagePage/ProductImagePage.tsx
@@ -41,7 +41,7 @@ const decorate = withStyles(theme => ({
root: {
display: "grid" as "grid",
gridColumnGap: theme.spacing.unit * 2 + "px",
- gridTemplateColumns: "1fr 2.25fr"
+ gridTemplateColumns: "4fr 9fr"
}
}));
const ProductImagePage = decorate<ProductImagePageProps>(
diff --git a/saleor/static/dashboard-next/products/components/ProductUpdatePage/ProductUpdatePage.tsx b/saleor/static/dashboard-next/products/components/ProductUpdatePage/ProductUpdatePage.tsx
index 0c7f46ff8f..8868cdddcb 100644
--- a/saleor/static/dashboard-next/products/components/ProductUpdatePage/ProductUpdatePage.tsx
+++ b/saleor/static/dashboard-next/products/components/ProductUpdatePage/ProductUpdatePage.tsx
@@ -115,7 +115,7 @@ const decorate = withStyles(theme => ({
root: {
display: "grid",
gridGap: theme.spacing.unit * 2 + "px",
- gridTemplateColumns: "2.25fr 1fr",
+ gridTemplateColumns: "9fr 4fr",
marginTop: theme.spacing.unit * 2,
[theme.breakpoints.down("sm")]: {
gridGap: theme.spacing.unit + "px",
diff --git a/saleor/static/dashboard-next/products/components/ProductVariantCreatePage/ProductVariantCreatePage.tsx b/saleor/static/dashboard-next/products/components/ProductVariantCreatePage/ProductVariantCreatePage.tsx
index a5eb0dcf78..c9fe9e09ed 100644
--- a/saleor/static/dashboard-next/products/components/ProductVariantCreatePage/ProductVariantCreatePage.tsx
+++ b/saleor/static/dashboard-next/products/components/ProductVariantCreatePage/ProductVariantCreatePage.tsx
@@ -73,7 +73,7 @@ const decorate = withStyles(theme => ({
root: {
display: "grid",
gridGap: `${theme.spacing.unit * 2}px`,
- gridTemplateColumns: "1fr 2.25fr",
+ gridTemplateColumns: "4fr 9fr",
[theme.breakpoints.down("sm")]: {
gridGap: `${theme.spacing.unit}px`,
gridTemplateColumns: "1fr"
diff --git a/saleor/static/dashboard-next/products/components/ProductVariantPage/ProductVariantPage.tsx b/saleor/static/dashboard-next/products/components/ProductVariantPage/ProductVariantPage.tsx
index f897bc88c4..e11c5659ac 100644
--- a/saleor/static/dashboard-next/products/components/ProductVariantPage/ProductVariantPage.tsx
+++ b/saleor/static/dashboard-next/products/components/ProductVariantPage/ProductVariantPage.tsx
@@ -81,7 +81,7 @@ const decorate = withStyles(theme => ({
root: {
display: "grid",
gridGap: `${theme.spacing.unit * 2}px`,
- gridTemplateColumns: "1fr 2.25fr",
+ gridTemplateColumns: "4fr 9fr",
[theme.breakpoints.down("sm")]: {
gridGap: `${theme.spacing.unit}px`,
gridTemplateColumns: "1fr"