mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 19:15:16 +02:00
fix: center Portfolio toolbar in 1 col layout
This commit is contained in:
parent
6ca1b15ab4
commit
31333ef8d4
2 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@
|
|||
</ul>
|
||||
|
||||
{{ with $page.Content }}
|
||||
<div class="article-style">
|
||||
<div class="article-style pt-1">
|
||||
{{ . }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
|
@ -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. */}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue