Skip to content

Commit

Permalink
fix(article-cards): correct the margin
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Aug 31, 2023
1 parent 4e84618 commit e03ae88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/bootstrap/article-cards.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{{- if $linkText }}
{{ print `<div class="col">` | safeHTML }}
{{- else }}
{{ printf `<a class="text-decoration-none" href="%s" title="%s">` .RelPermalink .Title | safeHTML }}
{{ printf `<a class="col text-decoration-none" href="%s" title="%s">` .RelPermalink .Title | safeHTML }}
{{- end }}
<div class="card shadow h-100 w-100 position-relative">
{{- with .FirstSection }}
Expand All @@ -40,7 +40,7 @@
{{ . }}
{{- else }}
<div
class="bg-secondary-subtle d-flex justify-content-center align-items-center h4 user-select-none mb-0"
class="bg-secondary-subtle d-flex justify-content-center align-items-center h4 user-select-none my-0"
style="height: 160px; filter: blur(1px);">
NO IMAGE
</div>
Expand Down

0 comments on commit e03ae88

Please sign in to comment.