Fixed image display style for odd shaped (very small) images.

This commit is contained in:
Jan Böhmer 2023-02-20 00:24:12 +01:00
parent f9d5a9a3b5
commit 05ab3c3b7b
4 changed files with 19 additions and 4 deletions

View file

@ -12,7 +12,7 @@
{# @var pic App\Entity\Attachments\Attachment #}
<div class="carousel-item {% if loop.first %}active{% endif %}">
<a href="{{ entity_url(pic, 'file_view') }}" data-turbo="false" target="_blank" rel="noopener">
<img class="d-block w-100 img-fluid img-thumbnail bg-light" src="{{ entity_url(pic, 'file_view') }}" alt="">
<img class="d-block w-100 img-fluid img-thumbnail bg-light part-info-image" src="{{ entity_url(pic, 'file_view') }}" alt="">
<div class="mask"></div>
<div class="carousel-caption-hover">
<div class="carousel-caption">