Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Sep 2015 14:25:51 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r47365 - head/share/misc
Message-ID:  <201509041425.t84EPpK8086802@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509041425.t84EPpK8086802>