Skip to content

Commit

Permalink
Fix the minimum width of the main section of the page (#5272) (#5274)
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 cde723b commit 95dd7fd
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 95dd7fd

Please sign in to comment.