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:
@@ -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}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user