Closed cmdalbem closed 6 years ago
@cmdalbem I updated the Gatsby and packages to their latest version in your repo and that resolved the issue for me. Please update the following dependencies, that will resolve your issue:
wow awesome @kakadiadarpan , thanks ✨
This 🐛 persists after upgrading gatsby-remark-imges
to the latest version if below 2 options present:
linkImagesToOriginal: true,
wrapperStyle: true,
Removing them works for me currently...
Description
I'm getting an error
span[style]:1:43: property missing ':'
when trying to use gatsby-remark-images with theshowCaptions
option turned ON. It completely breaks my website :(Looking at what Gatsby spits in the system console I think I found the problem: there's a
null
in the middle of the CSS styles of thegatsby-resp-image-wrapper
node:Steps to reproduce
I've created a branch where the bug is happening: https://github.com/cmdalbem/portfolio/tree/temp/remark_images_caption_bug The problem happens in the
http://localhost:8000/guitar-songs-viz/
page.Expected result
Page should be rendered normally and images should have a caption.
Actual result
Screen is blank and errors are shown in the console.
Environment