object-cover

This commit is contained in:
Benjamin Takats
2023-01-24 19:03:25 +01:00
parent 96a932ae86
commit 8938de977e
2 changed files with 2 additions and 2 deletions

View File

@@ -99,7 +99,7 @@
<div> <div>
<span <span
class="sr-only text-gray-200">{{ $libraryItem->lecturer->name }}</span> class="sr-only text-gray-200">{{ $libraryItem->lecturer->name }}</span>
<img class="h-10 w-10 rounded" <img class="h-10 w-10 object-cover rounded"
src="{{ $libraryItem->lecturer->getFirstMediaUrl('avatar') }}" src="{{ $libraryItem->lecturer->getFirstMediaUrl('avatar') }}"
alt="{{ $libraryItem->lecturer->name }}"> alt="{{ $libraryItem->lecturer->name }}">
</div> </div>

View File

@@ -29,7 +29,7 @@
<div class="flex-shrink-0"> <div class="flex-shrink-0">
<div> <div>
<span class="sr-only text-gray-200">{{ $libraryItem->lecturer->name }}</span> <span class="sr-only text-gray-200">{{ $libraryItem->lecturer->name }}</span>
<img class="h-10 w-10 rounded" <img class="h-10 w-10 object-cover rounded"
src="{{ $libraryItem->lecturer->getFirstMediaUrl('avatar') }}" src="{{ $libraryItem->lecturer->getFirstMediaUrl('avatar') }}"
alt="{{ $libraryItem->lecturer->name }}"> alt="{{ $libraryItem->lecturer->name }}">
</div> </div>