Skip to content

Commit 03e2b55

Browse files
authored
fix: fix mobile menu not scrolling (#98)
1 parent e870020 commit 03e2b55

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/scss/custom.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,8 @@ html[data-theme-override="light"] {
182182

183183
.navbar-sidebar__item.menu {
184184
padding: 10px 6px !important;
185+
// 60px is the height of navbar on mobile
186+
height: calc(100vh - 60px);
185187
}
186188

187189
.color-mode-toggle {

0 commit comments

Comments
 (0)