Skip to content

Commit 56cbf23

Browse files
committed
feat: add object-over to img to match behaviour when it used to be div
1 parent 46ac6e5 commit 56cbf23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/components/articles/summary.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<div class="break-words">
88
@if ($isFeatured)
99
<a href="{{ route('articles.show', $article->slug()) }}">
10-
<img class="w-full h-72 mb-6 rounded-lg bg-center bg-gray-800"
10+
<img class="w-full h-72 mb-6 rounded-lg bg-center bg-gray-800 object-cover"
1111
src="{{ $article->heroImage() }}"
1212
alt="Article Hero Image"
1313
onerror="

0 commit comments

Comments
 (0)