From 9ff0d30ad6b7ef6eb7f710b5faf98ea18ca7beff Mon Sep 17 00:00:00 2001 From: "David B. Kinder" Date: Thu, 18 Jun 2020 13:13:43 -0700 Subject: [PATCH] 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 --- doc/static/acrn-custom.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/static/acrn-custom.css b/doc/static/acrn-custom.css index 444d5634a..8e8eaeaa9 100644 --- a/doc/static/acrn-custom.css +++ b/doc/static/acrn-custom.css @@ -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; }