File 2746-func-heads-should-have-a-new-line-after-them.patch of Package erlang

From 58d08b32b71d549051147408a67b8a77a642bb24 Mon Sep 17 00:00:00 2001
From: Mariano Guerra <mariano@marianoguerra.org>
Date: Tue, 25 Oct 2016 17:45:02 +0100
Subject: [PATCH 46/59] func-heads should have a new line after them

---
 lib/erl_docgen/priv/css/otp_doc.css | 4 ++--
 lib/erl_docgen/priv/xsl/db_html.xsl | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css
index cde5d1327..f368e9dcb 100644
--- a/lib/erl_docgen/priv/css/otp_doc.css
+++ b/lib/erl_docgen/priv/css/otp_doc.css
@@ -66,8 +66,8 @@ a:visited      { color: #1b6ec2; text-decoration: none }
   text-align: center;
 }
 
-span.bold_code   { font-family: mono, Courier, monospace; font-weight: bold }
-span.code        {
+.bold_code   { font-family: mono, Courier, monospace; font-weight: bold }
+.code        {
  font-family: mono, Courier, monospace; font-weight: normal;
  color: #000;
  background-color: #f5f5f5;
diff --git a/lib/erl_docgen/priv/xsl/db_html.xsl b/lib/erl_docgen/priv/xsl/db_html.xsl
index 3b52e1755..66562bfe6 100644
--- a/lib/erl_docgen/priv/xsl/db_html.xsl
+++ b/lib/erl_docgen/priv/xsl/db_html.xsl
@@ -200,12 +200,12 @@
   <xsl:template match="head">
     <xsl:param name="local_types"/>
     <xsl:param name="global_types"/>
-    <span class="bold_code bc-1">
+    <div class="bold_code func-head">
       <xsl:apply-templates mode="local_type">
         <xsl:with-param name="local_types" select="$local_types"/>
         <xsl:with-param name="global_types" select="$global_types"/>
       </xsl:apply-templates>
-    </span>
+    </div>
   </xsl:template>
 
   <!-- The *last* <name name="..." arity=".."/> -->
-- 
2.12.2

openSUSE Build Service is sponsored by