Fix display of the note/tip/important/warning/caution when there are

more than one paragraph.

Approved by:	wblock
Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2015-09-04 14:25:50 +00:00
parent fb0b21ee97
commit 55a52a50bb
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=47365

View file

@ -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;
}