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]>
  • Loading branch information
kolchfa-aws authored Oct 17, 2023
1 parent 8d7cc89 commit 7a5a381
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 7a5a381

Please sign in to comment.