diff --git a/packages/docusaurus-theme-classic/src/theme/DocRoot/Layout/styles.module.css b/packages/docusaurus-theme-classic/src/theme/DocRoot/Layout/styles.module.css index d80285c4c1c0..7366e6d504bb 100644 --- a/packages/docusaurus-theme-classic/src/theme/DocRoot/Layout/styles.module.css +++ b/packages/docusaurus-theme-classic/src/theme/DocRoot/Layout/styles.module.css @@ -12,4 +12,5 @@ .docsWrapper { display: flex; + flex: 1 0 auto; } diff --git a/packages/docusaurus-theme-classic/src/theme/DocSidebar/Desktop/CollapseButton/styles.module.css b/packages/docusaurus-theme-classic/src/theme/DocSidebar/Desktop/CollapseButton/styles.module.css index 44f11f21cc75..c5026e8bf154 100644 --- a/packages/docusaurus-theme-classic/src/theme/DocSidebar/Desktop/CollapseButton/styles.module.css +++ b/packages/docusaurus-theme-classic/src/theme/DocSidebar/Desktop/CollapseButton/styles.module.css @@ -43,4 +43,5 @@ .collapseSidebarButton { display: none; + margin: 0; } diff --git a/packages/docusaurus-theme-classic/src/theme/Layout/styles.module.css b/packages/docusaurus-theme-classic/src/theme/Layout/styles.module.css index b667fe7911e9..162cbd125744 100644 --- a/packages/docusaurus-theme-classic/src/theme/Layout/styles.module.css +++ b/packages/docusaurus-theme-classic/src/theme/Layout/styles.module.css @@ -12,6 +12,8 @@ body { .mainWrapper { flex: 1 0 auto; + display: flex; + flex-direction: column; } /* Docusaurus-specific utility class */