mirror of
https://github.com/kogakure/website-astro-stefanimhoff.de.git
synced 2026-02-03 20:15:27 +00:00
fix: remove max-width of images on project overview
This commit is contained in:
@@ -20,6 +20,7 @@ const { project } = Astro.props;
|
|||||||
alt={project.data.title}
|
alt={project.data.title}
|
||||||
aspect={project.data.image.aspectRatio}
|
aspect={project.data.image.aspectRatio}
|
||||||
breakpoints={[300, 500, 700, 1000, 1200, 1500]}
|
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']}
|
format={['webp', 'avif']}
|
||||||
src={project.data.image.src}
|
src={project.data.image.src}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user