Browse Source

Fix styling of code (#1087)

main
Dan Abramov 7 years ago
committed by GitHub
parent
commit
428d52b834
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      src/prism-styles.js

6
src/prism-styles.js

@ -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',

Loading…
Cancel
Save