fix: dark mode toggle inconsistent positioning

This commit is contained in:
Jimmy Cai 2020-12-24 11:03:52 +01:00
parent 39dd18e603
commit 7fef76ddd6
No known key found for this signature in database
GPG Key ID: 3EA408E527F37B18
2 changed files with 3 additions and 5 deletions

View File

@ -113,7 +113,5 @@ main.main {
}
.main-grid {
@media (max-width: $on-phone) {
flex-direction: column;
}
min-height: 100vh;
}

View File

@ -6,7 +6,7 @@
</head>
<body class="{{ block `body-class` . }}{{ end }}">
{{- partial "head/colorScheme" . -}}
<div class="container flex on-phone--column {{ if .Site.Params.widgets.enabled }}extended{{ else }}compact{{ end }} {{ block `container-class` . }}{{end}}">
<div class="container main-container flex on-phone--column {{ if .Site.Params.widgets.enabled }}extended{{ else }}compact{{ end }} {{ block `container-class` . }}{{end}}">
{{ partial "sidebar/left.html" . }}
<main class="main full-width">
{{- block "main" . }}{{- end }}