mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-22 11:52:00 +00:00
Fix styling of code (#1087)
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user