We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adf848e commit c632fdbCopy full SHA for c632fdb
2 files changed
src/components/layouts/main/MainLayout/MainLayout.styles.ts
@@ -6,7 +6,7 @@ export const LayoutMaster = styled(BaseLayout)`
6
`;
7
8
export const LayoutMain = styled(BaseLayout)`
9
- height: fit-content;
+ height: 100vh;
10
@media only screen and ${media.md} {
11
margin-left: 80px;
12
}
src/components/layouts/main/MainLayout/MainLayout.tsx
@@ -71,7 +71,7 @@ const MainLayout: React.FC = () => {
71
<Header toggleSider={toggleSider} isSiderOpened={!siderCollapsed} isTwoColumnsLayout={isTwoColumnsLayout} />
72
</MainHeader>
73
<MainContent
74
- style={isDesktop ? { overflowY: 'hidden' } : { overflowY: 'auto' }}
+ style={isDesktop ? { overflowY: 'auto' } : { overflowY: 'auto' }}
75
id="main-content"
76
$isTwoColumnsLayout={isTwoColumnsLayout}
77
$isDesktop={isDesktop}
0 commit comments