Skip to content

Commit 85f2ad1

Browse files
committed
remove list-captions class from in-page toc styles
1 parent 5f5faa5 commit 85f2ad1

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/pydata_sphinx_theme/assets/styles/components/_toc-inpage.scss

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ nav.page-toc {
66
margin-bottom: 1rem;
77
}
88

9-
.bd-toc .nav,
10-
.list-caption {
9+
.bd-toc .nav {
1110
.nav {
1211
display: none;
1312

src/pydata_sphinx_theme/assets/styles/sections/_sidebar-primary.scss

-4
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,6 @@ $sidebar-padding-right: 1rem;
142142
list-style: none;
143143
padding-left: 0px;
144144

145-
.nav {
146-
display: block;
147-
}
148-
149145
// Level 0 TOC heading is put inside the <summary> tag
150146
// so let the <summary> tag take up more space
151147
li.toctree-l0.has-children {

0 commit comments

Comments
 (0)