summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/mandoc.css
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2017-07-16 18:44:16 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2017-07-16 18:44:16 +0000
commit8c283749a8599550d88b651cb343e2755255d589 (patch)
tree66f52d38488d94a36b448cbe49c4ac41fd088163 /usr.bin/mandoc/mandoc.css
parentf84046f422bb889eba41a0705954f923edc1ab47 (diff)
The only elements using floats are dt.It-tag, so the only elements
allowed to the right of them are dd.It-tag. Fixes overlapping rendering after long tag lists without bodies, for example in the Xenocara apm(4) manual. Issue reported by tj@.
Diffstat (limited to 'usr.bin/mandoc/mandoc.css')
-rw-r--r--usr.bin/mandoc/mandoc.css7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/mandoc/mandoc.css b/usr.bin/mandoc/mandoc.css
index eab6f0a9241..aefc0514d24 100644
--- a/usr.bin/mandoc/mandoc.css
+++ b/usr.bin/mandoc/mandoc.css
@@ -1,4 +1,4 @@
-/* $OpenBSD: mandoc.css,v 1.8 2017/07/15 17:29:26 schwarze Exp $ */
+/* $OpenBSD: mandoc.css,v 1.9 2017/07/16 18:44:15 schwarze Exp $ */
/*
* Standard style sheet for mandoc(1) -Thtml and man.cgi(8).
*/
@@ -18,6 +18,7 @@ a.selflink { border-bottom: thin dotted;
color: inherit;
font: inherit;
text-decoration: inherit; }
+* { clear: both }
/* Search form and search results. */
@@ -102,12 +103,12 @@ dt.It-ohang { }
dd.It-ohang { margin-left: 0ex; }
dl.Bl-tag { margin-left: 10.2ex; }
dt.It-tag { float: left;
- clear: both;
margin-top: 0ex;
margin-left: -10.2ex;
padding-right: 2ex;
vertical-align: top; }
-dd.It-tag { width: 100%;
+dd.It-tag { clear: right;
+ width: 100%;
margin-top: 0ex;
margin-left: 0ex;
vertical-align: top;