aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/erl_docgen/priv/css/otp_doc.css4
-rw-r--r--lib/erl_docgen/priv/xsl/db_html.xsl4
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 cde5d13271..f368e9dcb8 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 3b52e17551..66562bfe6a 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=".."/> -->