source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mandoc: The only elements using floats are dt.It-tag, so the only
@ 2017-07-16 18:45 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2017-07-16 18:45 UTC (permalink / raw)
  To: source

Log Message:
-----------
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@.

Modified Files:
--------------
    mandoc:
        mandoc.css

Revision Data
-------------
Index: mandoc.css
===================================================================
RCS file: /home/cvs/mandoc/mandoc/mandoc.css,v
retrieving revision 1.21
retrieving revision 1.22
diff -Lmandoc.css -Lmandoc.css -u -p -r1.21 -r1.22
--- mandoc.css
+++ mandoc.css
@@ -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;
--
 To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-07-16 18:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-16 18:45 mandoc: The only elements using floats are dt.It-tag, so the only schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).