Welcome to little lamb

Code » qmdoc » commit 8ca98a2

Fix pre/code

author Olivier Brunel
2022-12-23 14:47:53 UTC
committer Olivier Brunel
2022-12-23 14:47:53 UTC
parent f8bd60078a84f0fbca52574a81e40a9d692f630f

Fix pre/code

base.htm +1 -3

diff --git a/base.htm b/base.htm
index ce10db2..fedea8a 100644
--- a/base.htm
+++ b/base.htm
@@ -128,17 +128,15 @@ main pre {
     overflow: auto;
 }
 main pre.lineno {
-    line-height: 16px;
     display: block;
     padding: 0 4px;
     margin-top: 12px;
     opacity: 0.4;
     text-align: right;
     float: left;
-    white-space: pre;
+    overflow: hidden;
 }
 main pre.code {
-    line-height: 16px;
     padding: 0;
     margin: 12px 12px 0px 2px;
     background: url(data:type/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAgCAYAAADT5RIaAAAAFklEQVQI12NgYGDgZWJgYGCgDkFtAAAWnAAsyj4TxgAAAABJRU5ErkJggg==) 0 0 repeat;