Skip to content

Commit

Permalink
fix: update side nav items
Browse files Browse the repository at this point in the history
  • Loading branch information
vpicone committed Apr 12, 2019
1 parent dd66a81 commit 36fad34
Showing 1 changed file with 3 additions and 23 deletions.
26 changes: 3 additions & 23 deletions packages/gatsby-theme-carbon/src/components/LeftNav/left-nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 36fad34

Please sign in to comment.