mirror of
https://github.com/kogakure/website-astro-stefanimhoff.de.git
synced 2026-02-03 12:05:28 +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}
|
||||
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}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user