Skip to content

Commit

Permalink
Resolved / wagtail#297
Browse files Browse the repository at this point in the history
  • Loading branch information
ayaan-qadri committed Oct 30, 2024
1 parent 25ccf64 commit a9ae609
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 a9ae609

Please sign in to comment.