Conversation
There was a problem hiding this comment.
The screenshot you shared in #211 indeed looks better.
Looking at the code I think this makes sense, but I'm not a front-end person, so I cannot be certain. Also, I'd like to test this out locally before merging. I'll try to find time to do that this weekend, not sure I will though, so apologies as it might take another week before I get to merge this.
| const { date } = postNode.fields; | ||
| return ( | ||
| <Layout title={post.title}> | ||
| <style jsx>{` |
There was a problem hiding this comment.
Sonar complains about this and I'm not familiar with this syntax. Can you tell me what this does / is supposed to do?
|
Tests out fine, but I'm still curious about that |
|
|
Hi, sorry for the late reply. The style jsx just makes every html element of the class "gatsby-highlight" bigger. I couldn't find another way of doing it from the settings. I think something somewhere is overriding the font size so i had to add the style jsx thing. |
So we're using styled jsx here, I see. If this doesn't work on your side either, I think we can make ESLint ignore the line via |




Fixes #211