diff --git a/examples/magento-graphcms/components/ProductListLayout/ProductListLayoutClassic.tsx b/examples/magento-graphcms/components/ProductListLayout/ProductListLayoutClassic.tsx index 8e45fcfab4..92eb54db7c 100644 --- a/examples/magento-graphcms/components/ProductListLayout/ProductListLayoutClassic.tsx +++ b/examples/magento-graphcms/components/ProductListLayout/ProductListLayoutClassic.tsx @@ -47,7 +47,7 @@ export const ProductListLayoutClassic = memoDeep((props: ProductListLayoutProps) ({ textAlign: 'center', mb: theme.spacings.sm })} - description={category?.description} + {...category} /> ({ px: theme.page.horizontal })} - description={category?.description} + {...category} /> ({ diff --git a/examples/magento-graphcms/components/ProductListLayout/ProductListLayoutSidebar.tsx b/examples/magento-graphcms/components/ProductListLayout/ProductListLayoutSidebar.tsx index 94c00bb2ef..8ffc656894 100644 --- a/examples/magento-graphcms/components/ProductListLayout/ProductListLayoutSidebar.tsx +++ b/examples/magento-graphcms/components/ProductListLayout/ProductListLayoutSidebar.tsx @@ -95,11 +95,7 @@ export const ProductListLayoutSidebar = memoDeep((props: ProductListLayoutProps) <> {title} - + theme.breakpoints.down('md')}> {category?.children} diff --git a/examples/magento-open-source/components/ProductListLayout/ProductListLayoutClassic.tsx b/examples/magento-open-source/components/ProductListLayout/ProductListLayoutClassic.tsx index 9ea8232713..9b5771cc67 100644 --- a/examples/magento-open-source/components/ProductListLayout/ProductListLayoutClassic.tsx +++ b/examples/magento-open-source/components/ProductListLayout/ProductListLayoutClassic.tsx @@ -47,7 +47,7 @@ export const ProductListLayoutClassic = memoDeep((props: ProductListLayoutProps) ({ textAlign: 'center', mb: theme.spacings.sm })} - description={category?.description} + {...category} /> ({ px: theme.page.horizontal })} - description={category?.description} + {...category} /> ({ diff --git a/examples/magento-open-source/components/ProductListLayout/ProductListLayoutSidebar.tsx b/examples/magento-open-source/components/ProductListLayout/ProductListLayoutSidebar.tsx index 9b44bc43a7..3ddf308f3f 100644 --- a/examples/magento-open-source/components/ProductListLayout/ProductListLayoutSidebar.tsx +++ b/examples/magento-open-source/components/ProductListLayout/ProductListLayoutSidebar.tsx @@ -96,11 +96,7 @@ export const ProductListLayoutSidebar = memoDeep((props: ProductListLayoutProps) <> {title} - + theme.breakpoints.down('md')}> {category?.children} diff --git a/packages/next-ui/Container/Container.tsx b/packages/next-ui/Container/Container.tsx index b726ce2fec..d328ef07e4 100644 --- a/packages/next-ui/Container/Container.tsx +++ b/packages/next-ui/Container/Container.tsx @@ -76,6 +76,7 @@ export const Container = React.forwardRef( className={[className, classes.root].filter((v) => !!v).join(' ')} sx={[ { + width: '100%', pl: !breakoutLeft ? padding : undefined, pr: !breakoutRight ? padding : undefined, '&.breakoutLeft': { pl: 'unset' },