Fix the width available to page content (#5299)

Signed-off-by: Miki <miki@amazon.com>
This commit is contained in:
Miki 2023-10-18 15:49:11 -07:00 committed by GitHub
parent 36f5d9a670
commit aba231e921
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 1 deletions

View File

@ -69,6 +69,13 @@
}
}
&:last-child {
> ul {
right: .5em;
left: auto;
}
}
&:hover {
> ul {
display: block;

View File

@ -286,7 +286,8 @@ img {
position: fixed;
bottom: 30px;
right: 16px;
z-index: 1;
z-index: 999;
svg {
transform: rotate(-90deg);
}
@ -515,6 +516,10 @@ p.label {
// Adds TOC to right hand side in xl layout
.main-content-wrap {
width: 100%;
@include mq(xl) {
width: calc(100% - #{$toc-width});
}
}
.toc-wrap {