center the columns

This commit is contained in:
Vortex 2021-06-11 13:52:04 +05:30
parent 2deb5440fc
commit a1691442d2

View file

@ -62,9 +62,11 @@
</div> </div>
{{ else if eq $left_sidebar true }} {{ else if eq $left_sidebar true }}
<div class="container"> <div class="container">
<div class="columns is-centered">
<div class="column is-four-fifths"> <div class="column is-four-fifths">
{{ block "main" . }}{{ end }} {{ block "main" . }}{{ end }}
</div> </div>
</div>
<div class="column"> <div class="column">
{{ block "sidebar" . }}{{ end }} {{ block "sidebar" . }}{{ end }}
{{ partial "layout/sidebar" }} {{ partial "layout/sidebar" }}
@ -72,9 +74,11 @@
</div> </div>
{{ else }} {{ else }}
<div class="container"> <div class="container">
<div class="columns is-centered">
<div class="column is-four-fifths"> <div class="column is-four-fifths">
{{ block "main" . }}{{ end }} {{ block "main" . }}{{ end }}
</div> </div>
</div>
<div class="column"> <div class="column">
{{ block "sidebar" . }}{{ end }} {{ block "sidebar" . }}{{ end }}
{{ partial "layout/sidebar" }} {{ partial "layout/sidebar" }}