From a89964cc05253ef97f880482c98b0c4aabe8485b Mon Sep 17 00:00:00 2001 From: chris-cedrone-cengage <77400920+chris-cedrone-cengage@users.noreply.github.com> Date: Mon, 19 Aug 2024 12:15:22 -0400 Subject: [PATCH] Chore/docs drawer revert (#1375) --- .changeset/drawer-docs-revert.md | 5 +++++ .changeset/drawer-docs.md | 5 ----- .../react-magma-docs/src/components/MainContainer/index.js | 3 +++ 3 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 .changeset/drawer-docs-revert.md delete mode 100644 .changeset/drawer-docs.md diff --git a/.changeset/drawer-docs-revert.md b/.changeset/drawer-docs-revert.md new file mode 100644 index 000000000..767f4d082 --- /dev/null +++ b/.changeset/drawer-docs-revert.md @@ -0,0 +1,5 @@ +--- +'react-magma-docs': patch +--- + +chore(Drawer): Reverting changes until Manually sync main -> dev (4.5.0) #1371 is complete. diff --git a/.changeset/drawer-docs.md b/.changeset/drawer-docs.md deleted file mode 100644 index 5fe8b6ca8..000000000 --- a/.changeset/drawer-docs.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'react-magma-docs': patch ---- - -fix(Drawer): Fixed drawer appearing open at lower screen resolutions for the doc site navigation. diff --git a/website/react-magma-docs/src/components/MainContainer/index.js b/website/react-magma-docs/src/components/MainContainer/index.js index 3ac496c47..0ba4003ea 100644 --- a/website/react-magma-docs/src/components/MainContainer/index.js +++ b/website/react-magma-docs/src/components/MainContainer/index.js @@ -16,6 +16,9 @@ const StyledContainer = styled.div` 'masthead masthead' 'nav content'; } + @media (max-width: 1024px) { + display: hidden; + } `; const StyledSkipLink = styled(SkipLink)`