2
0
Эх сурвалжийг харах

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

add style
N1koge 6 жил өмнө
parent
commit
8d669ff642

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

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