From d4f3e6a8192e05b5e3343a9c7e4493f7ae98d109 Mon Sep 17 00:00:00 2001 From: Mateusz Kwasniewski Date: Thu, 12 Jan 2023 16:47:36 +0100 Subject: [PATCH] fix: flex was breaking change request banner (#2890) --- frontend/src/component/layout/MainLayout/MainLayout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/component/layout/MainLayout/MainLayout.tsx b/frontend/src/component/layout/MainLayout/MainLayout.tsx index 82a1602af8..493f24d729 100644 --- a/frontend/src/component/layout/MainLayout/MainLayout.tsx +++ b/frontend/src/component/layout/MainLayout/MainLayout.tsx @@ -25,7 +25,7 @@ const MainLayoutContainer = styled(Grid)(() => ({ const MainLayoutContentWrapper = styled('main')(({ theme }) => ({ margin: theme.spacing(0, 'auto'), - display: 'flex', // prevent margin collapsing + overflow: 'auto', // prevent margin collapsing flex: 1, width: '100%', backgroundColor: theme.palette.contentWrapper,