Skip to content

Commit 55c7688

Browse files
committed
Fix #6578: responsive integrations
Fix #6578: bugfix: responsive integration logos Signed-off-by: Shirshendu R Tripathi <shirsh8924@gmail.com> Fix integration logo display and spacing issues Signed-off-by: Shirshendu R Tripathi <shirsh8924@gmail.com> Revert "Fix #6578: bugfix: responsive integration logos" This reverts commit 36585f4. Signed-off-by: Shirshendu R Tripathi <shirsh8924@gmail.com>
1 parent 8882947 commit 55c7688

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/components/image.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,14 @@ const Image = ({ childImageSharp, extension, publicURL, alt, imgStyle, ...rest }
55

66
if (!childImageSharp && extension === "svg") {
77
return (
8-
<div className="old-gatsby-image-wrapper" style={{ width: "100%", height: "auto", aspectRatio: "16/9" }}>
8+
<div className="old-gatsby-image-wrapper" style={{ width: "100%", height: "auto" }}>
99
<img
1010
src={publicURL}
1111
alt={alt || "Blog image"}
1212
width="100%"
1313
height="auto"
1414
style={{
15-
aspectRatio: "16/9",
16-
objectFit: imgStyle?.objectFit || "cover",
15+
objectFit: imgStyle?.objectFit || "contain",
1716
...imgStyle
1817
}}
1918
/>

0 commit comments

Comments
 (0)