diff --git a/CHANGELOG.md b/CHANGELOG.md index 07fe4efb..739fd968 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +### Fixed + +- Main content misaligned when hamburger menu is opened at large viewport sizes + ## [2.3.0] - 2022-06-27 ### Added diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index 998714b5..204c6e2b 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -1018,8 +1018,7 @@ body button { /* Hamburger menu */ body:has(#menu-controller:checked) { - position: fixed; - overflow-y: scroll; + overflow-y: hidden; } #menu-button:has(#menu-controller:checked) { @@ -1772,11 +1771,6 @@ body:has(#menu-controller:checked) { margin-bottom: 0px; } -.mx-4 { - margin-left: 1rem; - margin-right: 1rem; -} - .mb-3 { margin-bottom: 0.75rem; } diff --git a/assets/css/main.css b/assets/css/main.css index 7cc40e36..6cd45f58 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -23,7 +23,7 @@ body button { /* Hamburger menu */ body:has(#menu-controller:checked) { - @apply fixed overflow-y-scroll; + @apply overflow-y-hidden; } #menu-button:has(#menu-controller:checked) { @apply invisible; diff --git a/layouts/partials/header/hamburger.html b/layouts/partials/header/hamburger.html index d28f98ca..ee44667c 100644 --- a/layouts/partials/header/hamburger.html +++ b/layouts/partials/header/hamburger.html @@ -34,10 +34,10 @@