Skip to content

Commit 00ccdf5

Browse files
committed
[FIX] odoo_theme: add bottom margin to inner lists
closes #7724 X-original-commit: 1200df1 Signed-off-by: Samuel Lieber (sali) <sali@odoo.com>
1 parent 538217f commit 00ccdf5

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

extensions/odoo_theme/static/scss/_sphinx_basic.scss

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -598,21 +598,14 @@ ol.upperroman {
598598
// margin-bottom: 0px;
599599
// }
600600

601-
ol.simple ol p,
602-
ol.simple ul p,
603-
ul.simple ol p,
604-
ul.simple ul p {
605-
margin-top: 0;
606-
}
607-
608-
ol.simple > li:not(:first-child) > p,
609-
ul.simple > li:not(:first-child) > p {
610-
margin-top: 0;
611-
}
601+
.simple {
602+
p {
603+
margin-bottom: 0;
604+
}
612605

613-
ol.simple p,
614-
ul.simple p {
615-
margin-bottom: 0;
606+
li > & {
607+
margin-bottom: 1em;
608+
}
616609
}
617610

618611
dl.footnote > dt,

0 commit comments

Comments
 (0)