From 8964c3c23d43dafa405855fc494ca032cd1ac7df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20G=C3=B3is?= Date: Tue, 10 Jan 2023 15:46:53 +0000 Subject: [PATCH] fix: PageContent bodyContainer overflowX (#2852) https://linear.app/unleash/issue/1-546/project-overview-table-is-missing-overflow-x-auto Fixes an issue where the PageContent body doesn't scroll horizontally when needed. This regression seems to have been included with https://github.com/Unleash/unleash/pull/2811, more specifically: https://github.com/Unleash/unleash/pull/2811/files#diff-a1c10fdcd539d988f74d4c3742cc6b8844152999a6c7e509ed8b1765c604524fL491 --- .../src/component/common/PageContent/PageContent.styles.ts | 4 +--- .../__tests__/__snapshots__/TagTypeList.test.tsx.snap | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/frontend/src/component/common/PageContent/PageContent.styles.ts b/frontend/src/component/common/PageContent/PageContent.styles.ts index 8cfad7f504..5e905aefa4 100644 --- a/frontend/src/component/common/PageContent/PageContent.styles.ts +++ b/frontend/src/component/common/PageContent/PageContent.styles.ts @@ -9,9 +9,7 @@ export const useStyles = makeStyles()(theme => ({ [theme.breakpoints.down('md')]: { padding: theme.spacing(2), }, - [theme.breakpoints.down('sm')]: { - overflowX: 'auto', - }, + overflowX: 'auto', }, paddingDisabled: { padding: '0', diff --git a/frontend/src/component/tags/TagTypeList/__tests__/__snapshots__/TagTypeList.test.tsx.snap b/frontend/src/component/tags/TagTypeList/__tests__/__snapshots__/TagTypeList.test.tsx.snap index 6937ff7da6..67fbef9b6a 100644 --- a/frontend/src/component/tags/TagTypeList/__tests__/__snapshots__/TagTypeList.test.tsx.snap +++ b/frontend/src/component/tags/TagTypeList/__tests__/__snapshots__/TagTypeList.test.tsx.snap @@ -109,7 +109,7 @@ exports[`renders an empty list correctly 1`] = `