mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-07 10:49:33 +00:00
Fixed image display style for odd shaped (very small) images.
This commit is contained in:
parent
f9d5a9a3b5
commit
05ab3c3b7b
4 changed files with 19 additions and 4 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue