diff --git a/.changeset/shy-lizards-arrive.md b/.changeset/shy-lizards-arrive.md new file mode 100644 index 00000000000..ef355e7bbe1 --- /dev/null +++ b/.changeset/shy-lizards-arrive.md @@ -0,0 +1,5 @@ +--- +"saleor-dashboard": patch +--- + +You can now view channel and product details pages on tablets diff --git a/src/components/Layouts/Detail/Root.tsx b/src/components/Layouts/Detail/Root.tsx index 7588b12bbae..58a04ab2617 100644 --- a/src/components/Layouts/Detail/Root.tsx +++ b/src/components/Layouts/Detail/Root.tsx @@ -20,12 +20,14 @@ export const RootLayout: React.FC = ({ if (gridTemplateColumns instanceof Object) { return { mobile: gridTemplateColumns.mobile ?? 1, + tablet: gridTemplateColumns.tablet, ...gridTemplateColumns, }; } return { mobile: 1, + tablet: gridTemplateColumns, desktop: gridTemplateColumns, }; }, [gridTemplateColumns]);