Browse Source

only disable <code> background color when inside <pre> tag

Robert McGuinness 7 years ago
parent
commit
6fedad89a5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      prism-pdf.css

+ 1 - 1
prism-pdf.css

@@ -12,6 +12,6 @@ code[class*="language-"]::selection, code[class*="language-"] ::selection {
 /*
  * @See https://github.com/gaearon/gitbook-plugin-prism/issues/11#issuecomment-262058733
 */
-.page .section code {
+.page .section pre code {
     background-color: none;
 }