feat(scss): improve 2 column style

This commit is contained in:
Jimmy Cai
2020-09-23 13:20:18 +02:00
parent b14ca5d15b
commit 26acceb37d
4 changed files with 121 additions and 89 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
<html lang="{{ .Site.LanguageCode }}">
{{- partial "head/head.html" . -}}
<body class="{{ block `body-class` . }}{{ end }}">
<div class="container extended flex on-phone--column align-items--flex-start {{ block `container-class` . }}{{end}}">
<div class="container flex on-phone--column align-items--flex-start {{ 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 }}