mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2024-11-27 04:03:48 +01:00
fix: dark mode toggle inconsistent positioning (#89)
This commit is contained in:
parent
39dd18e603
commit
3326cf886a
2 changed files with 4 additions and 6 deletions
|
@ -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;
|
||||
}
|
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue