Use fixed width for nuxt image
Signed-off-by: nurRiyad <asadnurriyad@gmail.com>
This commit is contained in:
@@ -30,6 +30,7 @@ withDefaults(defineProps<Props>(), {
|
||||
<div class="sm:col-span-3">
|
||||
<NuxtImg
|
||||
class="h-full w-full object-cover object-center rounded-t-2xl sm:rounded-l-2xl sm:rounded-t-none shadow-lg group-hover:scale-[1.02] transition-all duration-500"
|
||||
width="300"
|
||||
:src="image"
|
||||
:alt="alt"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user