Skip to content

Commit 242dfe5

Browse files
micahgodboltbenhalverson
authored andcommitted
hide mobile navigation until menu is open
1 parent 8a1e6a7 commit 242dfe5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/styles/learn.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,12 @@
208208

209209
.side-nav__list {
210210
top: 24px;
211+
height: 0;
212+
overflow: hidden;
213+
.side-nav--open & {
214+
overflow: visible;
215+
height: auto;
216+
}
211217
}
212218

213219
.side-nav__title {

0 commit comments

Comments
 (0)