fix(theme-classic): content container grow to take all the available space (#8463)

fix https://github.com/facebook/docusaurus/issues/8369
fix https://github.com/facebook/docusaurus/pull/8426
This commit is contained in:
Dongjoon Lee 2022-12-23 03:20:54 +09:00 committed by sebastienlorber
parent deb376e4a6
commit f3507e0505
3 changed files with 4 additions and 0 deletions

View file

@ -12,4 +12,5 @@
.docsWrapper { .docsWrapper {
display: flex; display: flex;
flex: 1 0 auto;
} }

View file

@ -43,4 +43,5 @@
.collapseSidebarButton { .collapseSidebarButton {
display: none; display: none;
margin: 0;
} }

View file

@ -12,6 +12,8 @@ body {
.mainWrapper { .mainWrapper {
flex: 1 0 auto; flex: 1 0 auto;
display: flex;
flex-direction: column;
} }
/* Docusaurus-specific utility class */ /* Docusaurus-specific utility class */