Skip to content

Commit

Permalink
Fix the minimum width of the main section of the page (#5272)
Browse files Browse the repository at this point in the history
Signed-off-by: Fanit Kolchina <[email protected]>
(cherry picked from commit 7a5a381)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Oct 17, 2023
1 parent cde723b commit 5e29b0b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions _sass/custom/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,8 @@ p.label {
}

.main {
flex-grow: 1;

@include mq(lg) {
max-width: calc(100% - #{$nav-width + $top-button-margin});
}
Expand All @@ -492,8 +494,7 @@ p.label {

// Adds TOC to right hand side in xl layout
.main-content-wrap {
max-width: 100%;
min-width: 0;
width: 100%;
}

.toc-wrap {
Expand Down

0 comments on commit 5e29b0b

Please sign in to comment.