From 684171207096bea7471fefeebe6b16bd20674974 Mon Sep 17 00:00:00 2001 From: Ashar Fuadi Date: Fri, 13 Oct 2023 19:59:06 +0700 Subject: [PATCH] fix(client): add overflow-x: auto to page layouts --- judgels-client/src/components/FullPageLayout/FullPageLayout.scss | 1 + .../src/components/FullWidthPageLayout/FullWidthPageLayout.scss | 1 + .../src/components/SingleColumnLayout/SingleColumnLayout.scss | 1 + 3 files changed, 3 insertions(+) diff --git a/judgels-client/src/components/FullPageLayout/FullPageLayout.scss b/judgels-client/src/components/FullPageLayout/FullPageLayout.scss index 31611aaba..105a1a9f5 100644 --- a/judgels-client/src/components/FullPageLayout/FullPageLayout.scss +++ b/judgels-client/src/components/FullPageLayout/FullPageLayout.scss @@ -5,4 +5,5 @@ min-height: 100vh; margin-left: auto; margin-right: auto; + overflow-x: auto; } diff --git a/judgels-client/src/components/FullWidthPageLayout/FullWidthPageLayout.scss b/judgels-client/src/components/FullWidthPageLayout/FullWidthPageLayout.scss index 108fb53aa..335187353 100644 --- a/judgels-client/src/components/FullWidthPageLayout/FullWidthPageLayout.scss +++ b/judgels-client/src/components/FullWidthPageLayout/FullWidthPageLayout.scss @@ -2,4 +2,5 @@ .layout-full-width-page { min-height: 100vh; + overflow-x: auto; } diff --git a/judgels-client/src/components/SingleColumnLayout/SingleColumnLayout.scss b/judgels-client/src/components/SingleColumnLayout/SingleColumnLayout.scss index 1272550cd..ec207958a 100644 --- a/judgels-client/src/components/SingleColumnLayout/SingleColumnLayout.scss +++ b/judgels-client/src/components/SingleColumnLayout/SingleColumnLayout.scss @@ -6,4 +6,5 @@ min-height: 100vh; display: flex; flex-direction: column; + overflow-x: auto; }