Fix styling of code (#1087)

This commit is contained in:
Dan Abramov
2018-07-25 02:47:06 +02:00
committed by GitHub
parent 7016c4a21d
commit 428d52b834

View File

@@ -35,9 +35,9 @@ css.global('.gatsby-highlight', {
css.global(
`
.gatsby-highlight code[class*="gatsby-code-"],
.gatsby-highlight pre[class*="gatsby-code-"],
.gatsby-highlight pre.prism-code`,
.gatsby-highlight > code[class*="gatsby-code-"],
.gatsby-highlight > pre[class*="gatsby-code-"],
.gatsby-highlight > pre.prism-code`,
{
height: 'auto !important',
margin: '1rem',