svn commit: r47365 - head/share/misc

Mathieu Arnold mat at FreeBSD.org
Fri Sep 4 14:25:51 UTC 2015


Author: mat
Date: Fri Sep  4 14:25:50 2015
New Revision: 47365
URL: https://svnweb.freebsd.org/changeset/doc/47365

Log:
  Fix display of the note/tip/important/warning/caution when there are
  more than one paragraph.
  
  Approved by:	wblock
  Sponsored by:	Absolight

Modified:
  head/share/misc/docbook.css

Modified: head/share/misc/docbook.css
==============================================================================
--- head/share/misc/docbook.css	Fri Sep  4 13:32:22 2015	(r47364)
+++ head/share/misc/docbook.css	Fri Sep  4 14:25:50 2015	(r47365)
@@ -370,8 +370,11 @@ pre.programlisting {
         margin-right: 0;
 }
 
-.note p, .tip p, .important p, .warning p, .caution p {
+.note p:first-of-type, .tip p:first-of-type, .important p:first-of-type, .warning p:first-of-type, .caution p:first-of-type {
 	display: inline-block;
+}
+
+.note p, .tip p, .important p, .warning p, .caution p {
 	margin: .4ex 0 .4ex 0;
 }
 


More information about the svn-doc-all mailing list