From 36fad34db3e0e70e592080d4e6d2ec1123446651 Mon Sep 17 00:00:00 2001 From: Vince Picone Date: Fri, 12 Apr 2019 13:11:38 -0500 Subject: [PATCH] fix: update side nav items --- .../src/components/LeftNav/left-nav.scss | 26 +++---------------- 1 file changed, 3 insertions(+), 23 deletions(-) diff --git a/packages/gatsby-theme-carbon/src/components/LeftNav/left-nav.scss b/packages/gatsby-theme-carbon/src/components/LeftNav/left-nav.scss index cfa987289..34fb2b896 100644 --- a/packages/gatsby-theme-carbon/src/components/LeftNav/left-nav.scss +++ b/packages/gatsby-theme-carbon/src/components/LeftNav/left-nav.scss @@ -18,28 +18,8 @@ border-right-width: 1px; transform: translateX(0); } -} - -//=================== -// SIDE NAV click to close -//=================== - -.side-nav-click-to-close { - display: block; - height: 100vh; - left: 0; - position: fixed; - top: 0; - width: 100%; - z-index: 500; -} - -@include carbon--breakpoint("lg") { - .side-nav-click-to-close { - display: none; + .bx--side-nav__item { + width: auto; + height: auto; } } - -.side-nav-click-to-close__closed { - display: none; -}