From c996b77e52ec28a2693283ccfc4b7b9f78068318 Mon Sep 17 00:00:00 2001 From: leineveber Date: Thu, 27 Jan 2022 19:29:57 +0300 Subject: [PATCH] fix(dashboard): fix scroll --- src/pages/DashboardPage/DashboardPage.styles.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pages/DashboardPage/DashboardPage.styles.ts b/src/pages/DashboardPage/DashboardPage.styles.ts index 4025fb1c0..99244c8d6 100644 --- a/src/pages/DashboardPage/DashboardPage.styles.ts +++ b/src/pages/DashboardPage/DashboardPage.styles.ts @@ -19,6 +19,8 @@ export const LeftSideCol = styled(Col)` @media only screen and ${(props) => props.theme.media.xl} { padding: ${(props) => `${props.theme.desktopLayout.paddingVertical} ${props.theme.desktopLayout.paddingHorizontal}`}; + height: calc(100vh - ${(props) => props.theme.desktopLayout.headerHeight}); + overflow: auto; } `;