From 12a92322cd7320fb38d9d15a61b24463d8ffa11f Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Fri, 22 Feb 2019 18:45:42 +0100 Subject: erl_docgen: Indent c-function line continuations --- lib/erl_docgen/priv/css/otp_doc.css | 10 ++++++++-- lib/erl_docgen/priv/xsl/db_html.xsl | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/lib/erl_docgen/priv/css/otp_doc.css b/lib/erl_docgen/priv/css/otp_doc.css index 89b278215c..17d9f8dd56 100644 --- a/lib/erl_docgen/priv/css/otp_doc.css +++ b/lib/erl_docgen/priv/css/otp_doc.css @@ -74,7 +74,7 @@ a:visited { color: #1b6ec2; text-decoration: none } /* Invisible table for function specs, * just to get since-version out in right margin */ -.func-table, .func-tr, .func-td, .func-since-td { +.func-table, .func-tr, .func-td, .cfunc-td, .func-since-td { width: 200%; border: 0; padding: 0; @@ -86,7 +86,13 @@ a:visited { color: #1b6ec2; text-decoration: none } } .func-td { - width: 50% + width: 50%; +} + +.cfunc-td { + width: 50%; + padding-left: 100px; + text-indent: -100px; } .func-since-td { diff --git a/lib/erl_docgen/priv/xsl/db_html.xsl b/lib/erl_docgen/priv/xsl/db_html.xsl index c5150d447c..4651ec9aaa 100644 --- a/lib/erl_docgen/priv/xsl/db_html.xsl +++ b/lib/erl_docgen/priv/xsl/db_html.xsl @@ -2119,7 +2119,7 @@ -
+ -- cgit v1.2.3