aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-07-15 17:29:31 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-07-15 17:29:31 +0000
commite44a947b4a0b91d4b188ffc1061e6609475bf493 (patch)
tree273edb076f376ae39e328f71c5e8dd1b540da6ab
parent2f8253b24297f7d674d90ce5837ebecd71351fbf (diff)
downloadmandoc-e44a947b4a0b91d4b188ffc1061e6609475bf493.tar.gz
mandoc-e44a947b4a0b91d4b188ffc1061e6609475bf493.tar.zst
mandoc-e44a947b4a0b91d4b188ffc1061e6609475bf493.zip
use the same width increase logic for .Bl -hang as for .Bl -tag
-rw-r--r--mandoc.css4
-rw-r--r--mdoc_html.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/mandoc.css b/mandoc.css
index 0fe840ce..93ecfaa6 100644
--- a/mandoc.css
+++ b/mandoc.css
@@ -1,4 +1,4 @@
-/* $Id: mandoc.css,v 1.20 2017/07/15 16:35:52 schwarze Exp $ */
+/* $Id: mandoc.css,v 1.21 2017/07/15 17:29:31 schwarze Exp $ */
/*
* Standard style sheet for mandoc(1) -Thtml and man.cgi(8).
*/
@@ -93,7 +93,7 @@ dd.It-diag { margin-left: 0ex; }
b.It-diag { font-style: normal; }
dl.Bl-hang { }
dt.It-hang { }
-dd.It-hang { margin-left: 5ex; }
+dd.It-hang { margin-left: 10.2ex; }
dl.Bl-inset { }
dt.It-inset { }
dd.It-inset { margin-left: 0ex; }
diff --git a/mdoc_html.c b/mdoc_html.c
index 20fc052a..2b734584 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_html.c,v 1.292 2017/07/14 16:06:44 schwarze Exp $ */
+/* $Id: mdoc_html.c,v 1.293 2017/07/15 17:29:31 schwarze Exp $ */
/*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014, 2015, 2016, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -732,7 +732,7 @@ mdoc_it_pre(MDOC_ARGS)
print_otag(h, TAG_B, "c", cattr);
break;
case ROFFT_BODY:
- print_otag(h, TAG_DD, "cswl", cattr,
+ print_otag(h, TAG_DD, "csw+l", cattr,
bl->norm->Bl.width);
break;
default: