mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-13 06:56:48 +00:00
object-contain
This commit is contained in:
@@ -40,7 +40,7 @@
|
|||||||
@endphp
|
@endphp
|
||||||
<li id="courseEventId_{{ $courseEvent->id }}" class="{{ $activeClass }} col-span-1 flex flex-col divide-y divide-gray-200 rounded-lg text-center shadow-2xl">
|
<li id="courseEventId_{{ $courseEvent->id }}" class="{{ $activeClass }} col-span-1 flex flex-col divide-y divide-gray-200 rounded-lg text-center shadow-2xl">
|
||||||
<div class="flex flex-1 flex-col p-8">
|
<div class="flex flex-1 flex-col p-8">
|
||||||
<img class="mx-auto h-32 w-32 object-cover flex-shrink-0 rounded"
|
<img class="mx-auto h-32 w-32 object-contain flex-shrink-0 rounded"
|
||||||
src="{{ $courseEvent->venue->getFirstMediaUrl('images') }}"
|
src="{{ $courseEvent->venue->getFirstMediaUrl('images') }}"
|
||||||
alt="{{ $courseEvent->course->name }}">
|
alt="{{ $courseEvent->course->name }}">
|
||||||
<h3 class="mt-6 text-xl font-medium text-gray-900 truncate">{{ $courseEvent->from->asDate() }}</h3>
|
<h3 class="mt-6 text-xl font-medium text-gray-900 truncate">{{ $courseEvent->from->asDate() }}</h3>
|
||||||
|
|||||||
Reference in New Issue
Block a user