From 3326cf886a21c1d132d044987885f735e5f90aad Mon Sep 17 00:00:00 2001 From: Jimmy Cai Date: Thu, 24 Dec 2020 11:06:58 +0100 Subject: [PATCH] fix: dark mode toggle inconsistent positioning (#89) --- assets/scss/grid.scss | 8 +++----- layouts/_default/baseof.html | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/assets/scss/grid.scss b/assets/scss/grid.scss index 73fcdfc..f36ed34 100644 --- a/assets/scss/grid.scss +++ b/assets/scss/grid.scss @@ -112,8 +112,6 @@ main.main { padding-top: var(--main-top-padding); } -.main-grid { - @media (max-width: $on-phone) { - flex-direction: column; - } -} +.main-container { + min-height: 100vh; +} \ No newline at end of file diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index ad5f295..ce0ddae 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -6,7 +6,7 @@ {{- partial "head/colorScheme" . -}} -
+
{{ partial "sidebar/left.html" . }}
{{- block "main" . }}{{- end }}