Fix: wrong padding on gallery item

This commit is contained in:
Aroy-Art 2024-03-26 19:33:27 +01:00
parent 03abdc730f
commit 97c8404d54
Signed by: Aroy
GPG key ID: DB9689E9391DD156

View file

@ -49,7 +49,7 @@
{{- $original := resources.Get .image -}}
{{ $thumb := $original.Fit "512x512" }}
{{ $image := $original.Fit "1080x1080" }}
<div class="item col-sm-4 col-lg-3 my-2">
<div class="col-sm-4 col-lg-3 my-2">
<a class="card bg-transparent" href="{{ $image.RelPermalink }}" data-lightbox="{{ $category }}" data-title="{{ .name }}">
<img class="card-img" src="{{ $thumb.RelPermalink }}" alt="">
</a>