mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Fix appearance of code blocks in lists
This commit is contained in:
1 parent
9c2b9b1eb6
commit
ed0ef164c0
1 file changed
+3
@@ -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