Pārlūkot izejas kodu

Fix Lines in multiline markdown code block to not anymore have darker background.

Thanks to mueller-ma and xet7 !

Fixes #5689
Lauri Ojansivu 2 nedēļas atpakaļ
vecāks
revīzija
b82ba63532
1 mainītis faili ar 3 papildinājumiem un 2 dzēšanām
  1. 3 2
      client/components/main/layouts.css

+ 3 - 2
client/components/main/layouts.css

@@ -214,7 +214,7 @@ pre,
 code,
 tt {
   font-family: lucida console, monospace;
-  line-height: 1.25em;
+  line-height: 1.3em;
 }
 blockquote {
   margin: 8px 0 8px 8px;
@@ -438,7 +438,8 @@ a:not(.disabled).is-active i.fa {
 .viewer em {
   font-style: italic;
 }
-.viewer pre {
+.viewer pre,
+.viewer code {
   padding: 10px 12px 7px;
   background: #dedede;
   overflow-y: auto;