fix: dark mode toggle inconsistent positioning (#89)
This commit is contained in:
parent
39dd18e603
commit
3326cf886a
@ -112,8 +112,6 @@ main.main {
|
|||||||
padding-top: var(--main-top-padding);
|
padding-top: var(--main-top-padding);
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-grid {
|
.main-container {
|
||||||
@media (max-width: $on-phone) {
|
min-height: 100vh;
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
}
|
}
|
@ -6,7 +6,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body class="{{ block `body-class` . }}{{ end }}">
|
<body class="{{ block `body-class` . }}{{ end }}">
|
||||||
{{- partial "head/colorScheme" . -}}
|
{{- 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" . }}
|
{{ partial "sidebar/left.html" . }}
|
||||||
<main class="main full-width">
|
<main class="main full-width">
|
||||||
{{- block "main" . }}{{- end }}
|
{{- block "main" . }}{{- end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user