From 0d2834569021079cf211f0e6682da389581e787f Mon Sep 17 00:00:00 2001 From: Alexey Pyltsyn Date: Fri, 6 Mar 2020 23:42:29 +0300 Subject: [PATCH 1/2] refactor(v2): increase CSS specificity on application container --- packages/docusaurus-theme-classic/src/theme/Layout/styles.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docusaurus-theme-classic/src/theme/Layout/styles.css b/packages/docusaurus-theme-classic/src/theme/Layout/styles.css index 7601e2a1e403..e68598def9b3 100644 --- a/packages/docusaurus-theme-classic/src/theme/Layout/styles.css +++ b/packages/docusaurus-theme-classic/src/theme/Layout/styles.css @@ -15,7 +15,7 @@ body { transition: var(--ifm-transition-fast) ease color; } -body > div { +body > div:first-of-type { height: 100%; display: flex; flex-direction: column; From 5eeeea02f812ba8cbafead34b8d05b7821cfe836 Mon Sep 17 00:00:00 2001 From: Yangshun Tay Date: Sat, 7 Mar 2020 11:53:29 +0800 Subject: [PATCH 2/2] Use docusaurus selector --- packages/docusaurus-theme-classic/src/theme/Layout/styles.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docusaurus-theme-classic/src/theme/Layout/styles.css b/packages/docusaurus-theme-classic/src/theme/Layout/styles.css index e68598def9b3..03fd4b3552d9 100644 --- a/packages/docusaurus-theme-classic/src/theme/Layout/styles.css +++ b/packages/docusaurus-theme-classic/src/theme/Layout/styles.css @@ -15,7 +15,7 @@ body { transition: var(--ifm-transition-fast) ease color; } -body > div:first-of-type { +body > #__docusaurus { height: 100%; display: flex; flex-direction: column;