From 901ab2a50534a3913770d41fed66ec6488ac4369 Mon Sep 17 00:00:00 2001 From: Kamil Pastuszka <33246308+kamilpastuszka@users.noreply.github.com> Date: Mon, 20 Sep 2021 14:28:15 +0000 Subject: [PATCH] Fix products table content display (#1422) --- .../components/ProductList/ProductList.tsx | 5 +- .../__snapshots__/Stories.test.ts.snap | 202 +++++++++--------- 2 files changed, 103 insertions(+), 104 deletions(-) diff --git a/src/products/components/ProductList/ProductList.tsx b/src/products/components/ProductList/ProductList.tsx index 9d8d2798b..7e4ea1348 100644 --- a/src/products/components/ProductList/ProductList.tsx +++ b/src/products/components/ProductList/ProductList.tsx @@ -40,9 +40,9 @@ import { messages } from "./messages"; const useStyles = makeStyles( theme => ({ - [theme.breakpoints.up("lg")]: { + [theme.breakpoints.up("md")]: { colName: { - width: "auto" + minWidth: 250 }, colPrice: { width: 300 @@ -326,7 +326,6 @@ export const ProductList: React.FC = props => { /> product.thumbnail.url)} > {product?.productType ? ( diff --git a/src/storybook/__snapshots__/Stories.test.ts.snap b/src/storybook/__snapshots__/Stories.test.ts.snap index cf2791312..4496742dd 100644 --- a/src/storybook/__snapshots__/Stories.test.ts.snap +++ b/src/storybook/__snapshots__/Stories.test.ts.snap @@ -216170,7 +216170,7 @@ exports[`Storyshots Views / Products / Product list default 1`] = `