fix: remove explicit width and height on carousel images to stop next warnings

now uses fill and lets the width and height from css decide
This commit is contained in:
Christian Andolf
2025-06-12 11:34:35 +02:00
parent 26a289b037
commit db0f2ed0f9

View File

@@ -23,8 +23,7 @@ export default function ContentCard({
src={image.url}
alt={image.meta.alt || image.meta.caption || ""}
className={styles.image}
width={400}
height={250}
fill
sizes="(min-width: 768px) 413px, 100vw"
focalPoint={image.focalPoint}
/>