Explorar o código

Merge pull request #2061 from weseek/support/modify-lineheight-of-pre

add style
N1koge %!s(int64=6) %!d(string=hai) anos
pai
achega
8d669ff642
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      src/client/styles/scss/_wiki.scss

+ 5 - 1
src/client/styles/scss/_wiki.scss

@@ -11,7 +11,11 @@ div.body {
 
 
 .wiki {
 .wiki {
   font-size: 15px;
   font-size: 15px;
-  line-height: 1.8em;
+
+  // override line-height except hljs and child of it.
+  :not(pre*) {
+    line-height: 1.8em;
+  }
 
 
   h1,
   h1,
   h2,
   h2,