diff options
author | Paul <paul@brainspark.nl> | 2019-11-17 22:19:39 +0300 |
---|---|---|
committer | Paul <paul@brainspark.nl> | 2019-11-17 22:21:58 +0300 |
commit | 03948e620d3d240f8118e71eeb44a0a337be6f2e (patch) | |
tree | b1edb2c183caa84f5bb672b96e850155f2d29ed0 | |
parent | 8f077962b88fcc02519c8d60ccbd3d92703ed716 (diff) |
Make justify for all sizes for just md+
-rw-r--r-- | layouts/_default/single.html | 4 | ||||
-rw-r--r-- | layouts/shortcodes/structure/column_start.html | 2 | ||||
-rw-r--r-- | layouts/shortcodes/structure/row_start.html | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index cd1f46e..e76edc3 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,8 +1,8 @@ {{ define "main" }} <div class="container" role="main"> <article> - <div class="row justify-content-md-center"> - <div class="col-8"> + <div class="row justify-content-center"> + <div class="col-md-8"> {{ .Content }} </div> </div> diff --git a/layouts/shortcodes/structure/column_start.html b/layouts/shortcodes/structure/column_start.html index e2cbd16..60849c6 100644 --- a/layouts/shortcodes/structure/column_start.html +++ b/layouts/shortcodes/structure/column_start.html @@ -1,4 +1,4 @@ {{- $col_definition := .Get "width" | default "col" -}} -{{- $justify_definition := .Get "justify" | default "justify-content-md-center" -}} +{{- $justify_definition := .Get "justify" | default "justify-content-center" -}} <div class="row {{ $justify_definition }}"> <div class="{{ $col_definition }}"> diff --git a/layouts/shortcodes/structure/row_start.html b/layouts/shortcodes/structure/row_start.html index 2c6aa76..0369850 100644 --- a/layouts/shortcodes/structure/row_start.html +++ b/layouts/shortcodes/structure/row_start.html @@ -1,5 +1,5 @@ {{- $col_definition := .Get "width" | default "col" -}} -{{- $justify_definition := .Get "justify" | default "justify-content-md-center" -}} +{{- $justify_definition := .Get "justify" | default "justify-content-center" -}} {{- $align_definition := .Get "align" | default "" -}} <div class="row {{ $justify_definition }}"> <div class="{{ $col_definition }} {{ $align_definition }}"> |