From 26db2ae5c9fbb0fd6a193327e731fe12b6b853b7 Mon Sep 17 00:00:00 2001 From: chris-cedrone-cengage <77400920+chris-cedrone-cengage@users.noreply.github.com> Date: Mon, 19 Aug 2024 14:31:50 -0400 Subject: [PATCH] fix(Docs): Drawer on small screens is broken (#1378) --- .changeset/docs-drawer.md | 5 +++++ .../react-magma-docs/src/components/MainContainer/index.js | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 .changeset/docs-drawer.md diff --git a/.changeset/docs-drawer.md b/.changeset/docs-drawer.md new file mode 100644 index 000000000..5fe8b6ca8 --- /dev/null +++ b/.changeset/docs-drawer.md @@ -0,0 +1,5 @@ +--- +'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 0ba4003ea..3ac496c47 100644 --- a/website/react-magma-docs/src/components/MainContainer/index.js +++ b/website/react-magma-docs/src/components/MainContainer/index.js @@ -16,9 +16,6 @@ const StyledContainer = styled.div` 'masthead masthead' 'nav content'; } - @media (max-width: 1024px) { - display: hidden; - } `; const StyledSkipLink = styled(SkipLink)`