diff --git a/assets/scss/layouts/drawer.scss b/assets/scss/layouts/drawer.scss index 9374ec6..188d4d2 100644 --- a/assets/scss/layouts/drawer.scss +++ b/assets/scss/layouts/drawer.scss @@ -15,7 +15,7 @@ body { } -.drawer-body-scrolling-disabled { +#drawer-toggler:checked ~ body, .drawer-body-scrolling-disabled { overflow: hidden; } @@ -65,7 +65,7 @@ body { } } - &.drawer-enabled { + &.drawer-enabled, #drawer-toggler ~ body .drawer{ width: 300px; .drawer-links { opacity: 1; @@ -79,4 +79,4 @@ body { padding-right: 1em; font-size: 1.3em; } -} \ No newline at end of file +} diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 29f253d..1eb7762 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -5,6 +5,7 @@ {{- block "head" . -}}{{ end }} +