From ecfe13abf2f54c9b24e6abb8c4dcc9795b21a839 Mon Sep 17 00:00:00 2001 From: Antoine Soetewey Date: Mon, 27 Jun 2022 20:54:29 +0200 Subject: [PATCH 01/21] Update users.md add docteurelsavancaster.com to users --- exampleSite/content/users.md | 1 + 1 file changed, 1 insertion(+) diff --git a/exampleSite/content/users.md b/exampleSite/content/users.md index 9e566b77..730149dc 100644 --- a/exampleSite/content/users.md +++ b/exampleSite/content/users.md @@ -32,5 +32,6 @@ Real websites that are built with Congo. | [datanalyze.be](https://datanalyze.be/) | Professional site | | [sneaky-potato.github.io](https://sneaky-potato.github.io/) | Professional site and Blog | | [kelset.dev](https://kelset.dev) | Personal site | +| [docteurelsavancaster.com](https://docteurelsavancaster.com/) | Professional site | **Congo user?** To add your site to this list, [submit a pull request](https://github.com/jpanther/congo/blob/dev/exampleSite/content/users.md). From c0494b25a4c16bee7443bd742091f0905ae3f28f Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Tue, 28 Jun 2022 09:47:30 +1000 Subject: [PATCH 02/21] =?UTF-8?q?=F0=9F=A9=B9=20Fix=20main=20content=20ali?= =?UTF-8?q?gnment=20under=20menu=20overlay?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 4 ++++ assets/css/compiled/main.css | 8 +------- assets/css/main.css | 2 +- layouts/partials/header/hamburger.html | 4 ++-- 4 files changed, 8 insertions(+), 10 deletions(-) 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 @@