File 2731-remove-extra-margin-from-code-blocks.patch of Package erlang

From 84bb057a7904c34d651f4c5d24939f59aa957e34 Mon Sep 17 00:00:00 2001
From: Mariano Guerra <mariano@marianoguerra.org>
Date: Sat, 22 Oct 2016 17:42:48 +0100
Subject: [PATCH 31/59] remove extra margin from code blocks

---
 lib/erl_docgen/priv/css/otp_doc.css | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css
index 270822ba4..a30ff6632 100644
--- a/lib/erl_docgen/priv/css/otp_doc.css
+++ b/lib/erl_docgen/priv/css/otp_doc.css
@@ -148,7 +148,11 @@ span.code        {
   font-size: 120%;
 }
 
-pre          { font-family: mono, Courier, monospace; font-weight: normal }
+pre {
+ font-family: mono, Courier, monospace;
+ font-weight: normal;
+ margin: 0;
+}
 
 .REFBODY     { margin-left: 13mm }
 
@@ -239,4 +243,3 @@ hr{
   border: 0;
   border-top: 1px solid #aaa;
 }
-
-- 
2.12.2

openSUSE Build Service is sponsored by