library with grid

This commit is contained in:
Benjamin Takats
2023-01-20 16:05:06 +01:00
parent b2463073ae
commit 109f2ef4ca
2 changed files with 2 additions and 2 deletions

View File

@@ -50,7 +50,7 @@
class="flex flex-col overflow-hidden rounded-lg shadow-[#F7931A] shadow-sm">
<div class="flex-shrink-0">
<a href="{{ route('article.view', ['libraryItem' => $libraryItem]) }}">
<img class="h-48 w-full object-cover"
<img class="h-48 w-full object-contain"
src="{{ $libraryItem->getFirstMediaUrl('main') }}"
alt="{{ $libraryItem->name }}">
</a>