diff --git a/src/layouts/MainLayout.astro b/src/layouts/MainLayout.astro index a618d68b..3c713d96 100644 --- a/src/layouts/MainLayout.astro +++ b/src/layouts/MainLayout.astro @@ -40,10 +40,9 @@ const githubEditUrl = `${GITHUB_EDIT_URL}/${currentFile}`; .layout { display: grid; grid-auto-flow: column; - grid-template-columns: minmax(var(--gutter), 1fr) minmax( - 0, - var(--max-width) - ) minmax(var(--gutter), 1fr); + grid-template-columns: + minmax(var(--gutter), 1fr) minmax(0, var(--max-width)) + minmax(var(--gutter), 1fr); overflow-x: hidden; } @@ -113,7 +112,8 @@ const githubEditUrl = `${GITHUB_EDIT_URL}/${currentFile}`; } .mobile-sidebar-toggle #grid-left { - display: block; + /* Hack :( */ + display: block !important; top: 2rem; padding-left: 1rem; padding-right: 1rem; @@ -141,36 +141,37 @@ const githubEditUrl = `${GITHUB_EDIT_URL}/${currentFile}`;