From 65935fdd3acadeffd5df34c74c649ea5b2332333 Mon Sep 17 00:00:00 2001 From: "Sam Lieber (sali)" Date: Mon, 22 Jan 2024 15:42:49 -0500 Subject: [PATCH] [FIX] odoo_theme: add bottom margin to inner lists closes odoo/documentation#7730 X-original-commit: 1200df1ec8da273b9c550267f13ed7b3022591b8 Signed-off-by: Samuel Lieber (sali) --- .../odoo_theme/static/scss/_sphinx_basic.scss | 21 +++++++------------ 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/extensions/odoo_theme/static/scss/_sphinx_basic.scss b/extensions/odoo_theme/static/scss/_sphinx_basic.scss index e4e074511..e795df354 100644 --- a/extensions/odoo_theme/static/scss/_sphinx_basic.scss +++ b/extensions/odoo_theme/static/scss/_sphinx_basic.scss @@ -598,21 +598,14 @@ ol.upperroman { // margin-bottom: 0px; // } -ol.simple ol p, -ol.simple ul p, -ul.simple ol p, -ul.simple ul p { - margin-top: 0; -} +.simple { + p { + margin-bottom: 0; + } -ol.simple > li:not(:first-child) > p, -ul.simple > li:not(:first-child) > p { - margin-top: 0; -} - -ol.simple p, -ul.simple p { - margin-bottom: 0; + li > & { + margin-bottom: 1em; + } } dl.footnote > dt,