From 5d00acbd3cc34156d99bf4103ba69f3066f24ce6 Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Sat, 27 May 2023 15:26:04 +0200 Subject: [PATCH] fix: remove max-width of images on project overview --- src/components/ProjectImage.astro | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/ProjectImage.astro b/src/components/ProjectImage.astro index b11c2d8..beeeeab 100644 --- a/src/components/ProjectImage.astro +++ b/src/components/ProjectImage.astro @@ -20,6 +20,7 @@ const { project } = Astro.props; alt={project.data.title} aspect={project.data.image.aspectRatio} breakpoints={[300, 500, 700, 1000, 1200, 1500]} + class="[&_img]:!w-full [&_img]:!max-w-none [&_picture]:!w-full [&_picture]:!max-w-none" format={['webp', 'avif']} src={project.data.image.src} />