diff --git a/themes/grav/scss/template/_admin.scss b/themes/grav/scss/template/_admin.scss index 8c11f3c6..076411da 100644 --- a/themes/grav/scss/template/_admin.scss +++ b/themes/grav/scss/template/_admin.scss @@ -314,13 +314,20 @@ $sidebar-padding: 2rem; } } +.admin-menu-wrapper { + height: calc(100vh - 180px); + overflow: hidden; + + @include breakpoint(mini-nav-range) { + height: calc(100vh - 136px); + } +} + #admin-menu { display: block; margin: 0; padding: 0; list-style: none; - overflow: hidden; - height: calc(100vh - 180px); em { font-style: normal; diff --git a/themes/grav/templates/partials/nav.html.twig b/themes/grav/templates/partials/nav.html.twig index 7d44ae47..e342bbbf 100644 --- a/themes/grav/templates/partials/nav.html.twig +++ b/themes/grav/templates/partials/nav.html.twig @@ -17,67 +17,69 @@ {#{% endif %}#} - +