summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2017-07-15 17:29:27 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2017-07-15 17:29:27 +0000
commitf63cdf1437f43bf910750eac7ccae698bf7b3591 (patch)
treefdee994b5de90e155573eaad4d9d4069cf1df4fa /usr.bin
parenta3252acb3a31329487d59b331685b4f35fde6ffc (diff)
use the same width increase logic for .Bl -hang as for .Bl -tag
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mandoc/mandoc.css4
-rw-r--r--usr.bin/mandoc/mdoc_html.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/mandoc/mandoc.css b/usr.bin/mandoc/mandoc.css
index 644ea3a652f..eab6f0a9241 100644
--- a/usr.bin/mandoc/mandoc.css
+++ b/usr.bin/mandoc/mandoc.css
@@ -1,4 +1,4 @@
-/* $OpenBSD: mandoc.css,v 1.7 2017/07/15 16:35:48 schwarze Exp $ */
+/* $OpenBSD: mandoc.css,v 1.8 2017/07/15 17:29:26 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/usr.bin/mandoc/mdoc_html.c b/usr.bin/mandoc/mdoc_html.c
index 0d4fc419d19..d89e30adb83 100644
--- a/usr.bin/mandoc/mdoc_html.c
+++ b/usr.bin/mandoc/mdoc_html.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mdoc_html.c,v 1.167 2017/07/14 16:05:52 schwarze Exp $ */
+/* $OpenBSD: mdoc_html.c,v 1.168 2017/07/15 17:29:26 schwarze Exp $ */
/*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014, 2015, 2016, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -730,7 +730,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: