aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-07-16 18:45:00 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-07-16 18:45:00 +0000
commit97b0a0d7252be913cf9710525a223aa49e00f38e (patch)
tree559c3b667885c2b645d97ec7fd68e6f25daae154
parentbff2cfea41125bc88bf1b45dd497c448cd22f95f (diff)
downloadmandoc-97b0a0d7252be913cf9710525a223aa49e00f38e.tar.gz
mandoc-97b0a0d7252be913cf9710525a223aa49e00f38e.tar.zst
mandoc-97b0a0d7252be913cf9710525a223aa49e00f38e.zip
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@.
-rw-r--r--mandoc.css7
1 files changed, 4 insertions, 3 deletions
diff --git a/mandoc.css b/mandoc.css
index 93ecfaa6..2a57a18f 100644
--- a/mandoc.css
+++ b/mandoc.css
@@ -1,4 +1,4 @@
-/* $Id: mandoc.css,v 1.21 2017/07/15 17:29:31 schwarze Exp $ */
+/* $Id: mandoc.css,v 1.22 2017/07/16 18:45:00 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;