fix: resized pictos imgs

This commit is contained in:
Noah Lancien 2024-07-11 15:29:07 +02:00
parent 48c0ddb3f0
commit a1ef12c19f
6 changed files with 2 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

View file

@ -1,7 +1,7 @@
<div class="strip-item d-flex align-items-center px-3 py-2 text-white">
<div class="strip-item-picto d-flex justify-content-center align-items-center me-4 overflow-hidden">
<img class="object-fit-contain" src="{{ Vite::asset($stripModel->picto->picture()) }}" title="{{ $stripModel->picto->title() }}"
alt="{{ $stripModel->picto->alt() }}" width="75px">
<img class="object-fit-contain w-100" src="{{ Vite::asset($stripModel->picto->picture()) }}" title="{{ $stripModel->picto->title() }}"
alt="{{ $stripModel->picto->alt() }}">
</div>
<div class="strip-item-content">
<p>{!! clean($stripModel->text) !!}</p>