doc: fix style for lists in note

Fix CSS style for lists inside a note.  Previously the first list item
would overlap in the note heading box.

Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
This commit is contained in:
David B. Kinder 2020-06-18 13:13:43 -07:00 committed by David Kinder
parent 922129cad4
commit 9ff0d30ad6

View File

@ -73,8 +73,8 @@ div.non-compliant-code div.highlight {
color: rgba(255,255,255,1);
}
/* squish the space between a paragraph before a list */
div > p + ul, div > p + ol {
/* squish the space between a paragraph before a list but not in a note */
div:not(.admonition) > p + ul, div:not(.admonition) > p + ol {
margin-top: -20px;
}