Skip to content

Commit 2714005

Browse files
authored
Flip chevrons when subtree is expanded (#1584)
1 parent 370db00 commit 2714005

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pydata_sphinx_theme/assets/styles/components/_navbar-links.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@
4040
~ ul {
4141
display: none;
4242
}
43-
~ label i {
43+
~ label .fa-chevron-down {
4444
transform: rotate(0deg);
4545
}
4646
}
4747
.toctree-checkbox:checked {
4848
~ ul {
4949
display: block;
5050
}
51-
~ label i {
51+
~ label .fa-chevron-down {
5252
transform: rotate(180deg);
5353
}
5454
}

0 commit comments

Comments
 (0)