fix: center Portfolio toolbar in 1 col layout

This commit is contained in:
George Cushen 2022-02-13 22:23:31 +00:00
commit 31333ef8d4
2 changed files with 2 additions and 2 deletions

View file

@ -75,7 +75,7 @@
</ul>
{{ with $page.Content }}
<div class="article-style">
<div class="article-style pt-1">
{{ . }}
</div>
{{ end }}

View file

@ -28,7 +28,7 @@
{{ if gt (len $st.Params.content.filter_button) 1 }}
<div class="project-toolbar">
<div class="project-filters">
<div class="btn-toolbar">
<div class="btn-toolbar {{if eq $columns "1"}}d-flex justify-content-center{{end}}">
<div class="btn-group flex-wrap">
{{ range $idx, $item := $st.Params.content.filter_button }}
{{/* Parse filter tag from front matter in the form of either tag name or CSS class name. */}}