Skip to content

Commit

Permalink
Fix the width available to page content (#5299)
Browse files Browse the repository at this point in the history
Signed-off-by: Miki <[email protected]>
(cherry picked from commit aba231e)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Oct 18, 2023
1 parent 78a1ae9 commit efc2c5c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
7 changes: 7 additions & 0 deletions _sass/_nested-nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,13 @@
}
}

&:last-child {
> ul {
right: .5em;
left: auto;
}
}

&:hover {
> ul {
display: block;
Expand Down
7 changes: 6 additions & 1 deletion _sass/custom/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,8 @@ img {
position: fixed;
bottom: 30px;
right: 16px;
z-index: 1;
z-index: 999;

svg {
transform: rotate(-90deg);
}
Expand Down Expand Up @@ -495,6 +496,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 {
Expand Down

0 comments on commit efc2c5c

Please sign in to comment.