fix(aio): tidy up embedded ToC styling (#22570)

The spacing didn't work well when the screen was narrow.

PR Close #22570
This commit is contained in:
Pete Bacon Darwin 2018-03-03 13:14:28 +00:00 committed by Alex Eagle
parent 8ea4c57174
commit 94bc277b1b
1 changed files with 10 additions and 4 deletions

View File

@ -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;
}
}
}