aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_docgen
diff options
context:
space:
mode:
authorMariano Guerra <[email protected]>2016-10-25 17:45:02 +0100
committerMariano Guerra <[email protected]>2017-03-13 11:51:52 +0100
commit58d08b32b71d549051147408a67b8a77a642bb24 (patch)
tree505c995f06baf483a15aa16f084d391d456048f7 /lib/erl_docgen
parentb2a6eebcf698c1828d89b37704028fdb931b0b20 (diff)
downloadotp-58d08b32b71d549051147408a67b8a77a642bb24.tar.gz
otp-58d08b32b71d549051147408a67b8a77a642bb24.tar.bz2
otp-58d08b32b71d549051147408a67b8a77a642bb24.zip
func-heads should have a new line after them
Diffstat (limited to 'lib/erl_docgen')
-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=".."/> -->