Skip to content

Commit 2e52097

Browse files
author
Vivek Vishal
authored
revert fallback objectFit value
Signed-off-by: Vivek Vishal <vishalvivek488@gmail.com>
1 parent 1aebfa2 commit 2e52097

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/image.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const Image = ({ childImageSharp, extension, publicURL, alt, imgStyle, ...rest }
1212
width="100%"
1313
height="auto"
1414
style={{
15-
objectFit: imgStyle?.objectFit || "contain",
15+
objectFit: imgStyle?.objectFit || "cover",
1616
...imgStyle
1717
}}
1818
/>

0 commit comments

Comments
 (0)