Skip to content

Commit ecf4ea0

Browse files
committed
[FIX][CSS]: ul ol sub-bullet margins
1 parent 5ea7d3a commit ecf4ea0

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

extensions/odoo_theme/static/scss/_sphinx_basic.scss

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -598,23 +598,15 @@ 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-
}
612-
613601
ol.simple p,
614602
ul.simple p {
615603
margin-bottom: 0;
616604
}
617605

606+
li > .simple {
607+
margin-bottom: 1em;
608+
}
609+
618610
dl.footnote > dt,
619611
dl.citation > dt {
620612
float: left;
@@ -902,4 +894,4 @@ div.math:hover a.headerlink {
902894
#top-link {
903895
display: none;
904896
}
905-
}
897+
}

0 commit comments

Comments
 (0)