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