I am using gatsby-remark-images in my Gatsby MDX powered website. Not sure whether this was introduced during the last months, because it worked before, but after upgrading everything I have to set the following style manually to override the responsive Gatsby style to make it work in my markdown.
.gatsby-resp-image-background-image {
display: none !important;
}
Otherwise I will have a large white space before my image gets rendered.
"dependencies": {
"@mdx-js/mdx": "^1.0.21",
"@mdx-js/react": "^1.0.21",
"axios": "^0.19.0",
"disqus-react": "^1.0.6",
"dotenv": "^8.0.0",
"gatsby": "^2.13.6",
"gatsby-image": "^2.2.4",
"gatsby-link": "^2.2.0",
"gatsby-mdx": "^0.6.3",
"gatsby-plugin-catch-links": "^2.1.0",
"gatsby-plugin-feed": "^2.3.2",
"gatsby-plugin-google-analytics": "^2.1.1",
"gatsby-plugin-manifest": "^2.2.1",
"gatsby-plugin-offline": "^2.2.1",
"gatsby-plugin-react-helmet": "^3.1.0",
"gatsby-plugin-sentry": "^1.0.1",
"gatsby-plugin-sharp": "^2.2.3",
"gatsby-plugin-sitemap": "^2.2.1",
"gatsby-plugin-styled-components": "^3.1.0",
"gatsby-remark-autolink-headers": "^2.1.0",
"gatsby-remark-copy-linked-files": "^2.1.0",
"gatsby-remark-images": "^3.1.3",
"gatsby-source-filesystem": "^2.1.2",
"gatsby-transformer-remark": "^2.6.1",
"gatsby-transformer-sharp": "^2.2.1",
"prism-react-renderer": "^0.1.7",
"prismjs": "^1.16.0",
"react": "next",
"react-dom": "next",
"react-facebook-pixel": "^0.1.3",
"react-helmet": "~5.2.1",
"react-quora-pixel": "0.0.5",
"react-twitter-conversion-tracker": "^1.0.0",
"react-youtube": "^7.9.0",
"styled-components": "^4.3.2"
},
I am using gatsby-remark-images in my Gatsby MDX powered website. Not sure whether this was introduced during the last months, because it worked before, but after upgrading everything I have to set the following style manually to override the responsive Gatsby style to make it work in my markdown.
Otherwise I will have a large white space before my image gets rendered.
My images are used with the normal format in my markdown:
Dependencies: