fix: remove max-width of images on project overview

This commit is contained in:
Stefan Imhoff
2023-05-27 15:26:04 +02:00
parent e82f5746bd
commit 5d00acbd3c

View File

@@ -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}
/>