Skip to content

Commit

Permalink
Fix the minimum width of the main section of the page (#5272) (#5285)
Browse files Browse the repository at this point in the history
(cherry picked from commit 7a5a381)

Signed-off-by: Fanit Kolchina <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 5b8d939 commit 2fa5153
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 @@ -501,6 +501,8 @@ p.label {
}

.main {
flex-grow: 1;

@include mq(lg) {
max-width: calc(100% - #{$nav-width + $top-button-margin});
}
Expand All @@ -512,8 +514,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 2fa5153

Please sign in to comment.