center the columns

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

View file

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