From 67257aa64b8048b20129cfa85396cba8c4568e6c Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Fri, 5 Feb 2021 12:49:08 +0200 Subject: [PATCH] refactor(docs-infra): merge style rules in `_toc.scss` (#40704) This commit cleans up the styles in `_toc.scss` by merging together blocks that target the same elements. PR Close #40704 --- aio/src/styles/2-modules/_toc.scss | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/aio/src/styles/2-modules/_toc.scss b/aio/src/styles/2-modules/_toc.scss index 5baf001db1..71e77767d2 100644 --- a/aio/src/styles/2-modules/_toc.scss +++ b/aio/src/styles/2-modules/_toc.scss @@ -200,9 +200,12 @@ aio-toc.embedded { .toc-heading { margin: 0 0 8px; } + + &.collapsed { + .secondary { + display: none; + } + } } - > div.collapsed li.secondary { - display: none; - } }