Skip to content

Commit

Permalink
style(article-cards): align articles to center
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Mar 8, 2024
1 parent 7dc842a commit 8d0fadb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/bootstrap/article-cards.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{{- end }}
{{- $itemAttrsStr := "" }}
{{ with $itemAttrs }}{{ $itemAttrsStr = delimit . " " | printf " %s" }}{{ end }}
<div class="row g-4 row-cols-1 row-cols-md-2 row-cols-lg-3 mb-5">
<div class="row g-4 row-cols-1 row-cols-md-2 row-cols-lg-3 mb-5 justify-content-center">
{{- range first $limit $pages }}
{{- if $linkText }}
{{ printf `<div class="col"%s>` $itemAttrsStr | safeHTML }}
Expand Down

0 comments on commit 8d0fadb

Please sign in to comment.