Welcome to little lamb

Code » qmdoc » commit 6879360

struct.css: Fix code blocks

author Olivier Brunel
2023-01-01 19:45:13 UTC
committer Olivier Brunel
2023-01-01 19:45:13 UTC
parent 7c87ba5c6bee93491ef05edbf4e38047ace8fbc4

struct.css: Fix code blocks

This would lead to misalignment of line numbers when having one code
block after the other, or lead to the paragraph (or footer) coming next
seeing its first line "pushed" to the right.

struct.css +1 -0

diff --git a/struct.css b/struct.css
index 3beb5c1..50dc1b7 100644
--- a/struct.css
+++ b/struct.css
@@ -117,6 +117,7 @@ main pre.lineno {
     display: block;
     padding: 0 4px;
     margin-top: 12px;
+    margin-bottom: 0;
     opacity: 0.4;
     text-align: right;
     float: left;