@samitouri / QOS-React-2 / commits / ed0ef164c0

Fix appearance of code blocks in lists

Ben Alpert committed Apr 4, 2014 at 12:53 UTC ed0ef164c006572cef358257a180a10e98bf0eb5
1 file changed +3
docs/_css/react.scss
+3
@@ -683,7 +683,10 @@ p code {
683 }
684
685 .highlight pre code {
686 + /* Cancel out styles for `li code` in case we have a <pre> within an <li>. */
687 + background: none;
688 font-size: inherit;
689 + padding: 0;
690 }
691
692 .highlight pre .lineno {