File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -53,3 +53,20 @@ table.sticky-left th:first-of-type[colspan] > p {
5353 border-radius : 50px ;
5454 padding : 6px 12px ;
5555}
56+
57+ /* Improve list item spacing in "open" lists.
58+ https://github.com/readthedocs/sphinx_rtd_theme/issues/1555
59+
60+ Undoes this rule in non-.simple lists:
61+ https://github.com/readthedocs/sphinx_rtd_theme/blob/2.0.0/src/sass/_theme_rst.sass#L174-L175
62+ */
63+ .rst-content .section ol : not (.simple ) > li > p : only-child ,
64+ .rst-content .section ol : not (.simple ) > li > p : only-child : last-child ,
65+ .rst-content .section ul : not (.simple ) > li > p : only-child ,
66+ .rst-content .section ul : not (.simple ) > li > p : only-child : last-child ,
67+ .rst-content section ol : not (.simple ) > li > p : only-child ,
68+ .rst-content section ol : not (.simple ) > li > p : only-child : last-child ,
69+ .rst-content section ul : not (.simple ) > li > p : only-child ,
70+ .rst-content section ul : not (.simple ) > li > p : only-child : last-child {
71+ margin-bottom : 12px ;
72+ }
You can’t perform that action at this time.
0 commit comments