Fix gallery card image height inconsistency
This commit is contained in:
parent
1b6eb7d4a0
commit
686cf611b6
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue