diff --git a/sass/_component_toc.scss b/sass/_component_toc.scss index ff2c8d8b..16fe0374 100644 --- a/sass/_component_toc.scss +++ b/sass/_component_toc.scss @@ -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;