Merged in fix/remove-explicit-width-height-carousel-images (pull request #2349)
fix: remove explicit width and height on carousel images to stop next warnings Approved-by: Chuma Mcphoy (We Ahead) Approved-by: Erik Tiekstra Approved-by: Matilda Landström
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