Skip to content

Commit

Permalink
Resolved / #297 (#298)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayaan-qadri authored Oct 31, 2024
1 parent 4d642a5 commit 7a6d673
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions sass/_component_toc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,18 +57,20 @@
}
}

.current > a {
color: theme-color('primary');

> .toctree-expand {
background-color: theme-color('primary');
color: color-yiq(theme-color('primary'));

&:before {
display: none;
.current > {
a {
color: theme-color('primary');
}

.toctree-expand {
background-color: theme-color('primary');
color: color-yiq(theme-color('primary'));

&:before {
display: none;
}
}
}
}

> ul {
padding-left: 0;
Expand Down

0 comments on commit 7a6d673

Please sign in to comment.