diff --git a/components/LazyImage.js b/components/LazyImage.js index d878ddb1..4556bd0d 100644 --- a/components/LazyImage.js +++ b/components/LazyImage.js @@ -60,7 +60,6 @@ export default function LazyImage({ ref: imageRef, src: imageLoaded ? src : placeholderSrc, alt: alt, - style: src ? style : { height: '0px', ...style }, onLoad: handleImageLoad } diff --git a/themes/medium/components/BlogPostCard.js b/themes/medium/components/BlogPostCard.js index 273660b0..16a963e6 100644 --- a/themes/medium/components/BlogPostCard.js +++ b/themes/medium/components/BlogPostCard.js @@ -31,7 +31,7 @@ const BlogPostCard = ({ post, showSummary }) => { }>