mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
Fix appearance of code blocks in lists
This commit is contained in:
@@ -683,7 +683,10 @@ p code {
|
||||
}
|
||||
|
||||
.highlight pre code {
|
||||
/* Cancel out styles for `li code` in case we have a <pre> within an <li>. */
|
||||
background: none;
|
||||
font-size: inherit;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.highlight pre .lineno {
|
||||
|
||||
Reference in New Issue
Block a user