From 94bc277b1bc7c91e2db72e013d7b90e99f6043c1 Mon Sep 17 00:00:00 2001 From: Pete Bacon Darwin Date: Sat, 3 Mar 2018 13:14:28 +0000 Subject: [PATCH] fix(aio): tidy up embedded ToC styling (#22570) The spacing didn't work well when the screen was narrow. PR Close #22570 --- aio/src/styles/2-modules/_toc.scss | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/aio/src/styles/2-modules/_toc.scss b/aio/src/styles/2-modules/_toc.scss index 028f839b67..a03b1bb698 100644 --- a/aio/src/styles/2-modules/_toc.scss +++ b/aio/src/styles/2-modules/_toc.scss @@ -8,10 +8,16 @@ overflow-x: hidden; } -aio-toc { - &.embedded { - @media (min-width: 801px) { - display: none; +aio-toc.embedded { + @media (min-width: 801px) { + display: none; + } + + .toc-inner { + padding: 12px 0 0 0; + + .toc-heading { + margin: 0 0 8px; } } }