Skip to content

Commit 55f7ff5

Browse files
committed
Close spacing in the master TOC as well.
1 parent 8280883 commit 55f7ff5

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

doc/_static/style.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@
4242
* + * { margin-block-start: 1.2em;}
4343

4444
/* shrink spacing between list elements in tables of contents */
45-
div.contents * + * { margin-block-start: 0.25em;}
45+
div.toctree-wrapper * + *, div.contents * + * {
46+
margin-block-start: 0.25em;
47+
}
4648

4749
h1, h2, h3, h4, h5, h6 {
4850
line-height: 1.25;

website/www/_static/style.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@
4242
* + * { margin-block-start: 1.2em;}
4343

4444
/* shrink spacing between list elements in tables of contents */
45-
div.contents * + * { margin-block-start: 0.25em;}
45+
div.toctree-wrapper * + *, div.contents * + * {
46+
margin-block-start: 0.25em;
47+
}
4648

4749
h1, h2, h3, h4, h5, h6 {
4850
line-height: 1.25;

0 commit comments

Comments
 (0)