Fix gallery card image height inconsistency

This commit is contained in:
krek0 2026-05-07 14:06:18 +02:00
parent 1b6eb7d4a0
commit 686cf611b6

View file

@ -7,7 +7,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
<div class="card bg-gradient">
{% for photo in gallery.sample %}
<img src="{{ photo.get_thumbnail_url }}" class="card-img-top" alt="{{ photo.title }}">
<img src="{{ photo.get_thumbnail_url }}" class="card-img-top" alt="{{ photo.title }}" style="height:200px;object-fit:cover;">
{% endfor %}
<div class="card-body">
<h4 class="card-title h5">{{ gallery.title }}</h4>