fix(docs-infra): fix mobile toc styles (#31533)

Return mobile toc styles from bug in PR#31013
Give docs pages header a width limit so it does not run into the Github icon link

PR Close #31533
This commit is contained in:
Stefanie Fluin 2019-07-12 14:12:11 -07:00 committed by Miško Hevery
parent f65db20c6d
commit ebc71f7caa
2 changed files with 153 additions and 149 deletions

View File

@ -7,6 +7,10 @@ body,
background-color: $white; background-color: $white;
} }
.github-links + .content h1 {
max-width: 90%;
}
.clearfix { .clearfix {
content: ""; content: "";
display: table; display: table;

View File

@ -6,6 +6,7 @@
bottom: 12px; bottom: 12px;
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; overflow-x: hidden;
}
.toc-inner { .toc-inner {
@include font-size(13); @include font-size(13);
@ -186,7 +187,6 @@
} }
} }
} }
}
// Alternative TOC View for Smaller Screens // Alternative TOC View for Smaller Screens
aio-toc.embedded { aio-toc.embedded {