Fix multi-paragraph statements in documentation callouts

Multi-paragraph statements in the warning/caution/note/tip boxes
were being smushed together due to the removal of paragraph
margins. It is still essential to remove the paragraph margin
on the final paragraph, which is accounted for in this change.

Reported by: Peter Geoghegan <pg@bowt.ie>
This commit is contained in:
Jonathan S. Katz
2020-12-17 16:51:24 -05:00
parent 0a38cf581c
commit ec7bf6e8ef

View File

@ -958,9 +958,16 @@ code,
border-color: #FFD7D7;
}
#docContent table.CAUTION, table.WARNING,
#docContent blockquote.CAUTION p, #docContent blockquote.NOTE p, #docContent blockquote.TIP p, #docContent blockquote.WARNING p,
#docContent .caution p, #docContent .note p, #docContent .tip p, #docContent .warning p
#docContent table.CAUTION,
#docContent table.WARNING,
#docContent blockquote.CAUTION p:last-child,
#docContent blockquote.NOTE p:last-child,
#docContent blockquote.TIP p:last-child,
#docContent blockquote.WARNING p:last-child,
#docContent .caution p:last-child,
#docContent .note p:last-child,
#docContent .tip p:last-child,
#docContent .warning p:last-child
{
margin-bottom: 0 !important;
}