Fix the minimum width of the main section of the page (#5272)

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
This commit is contained in:
kolchfa-aws 2023-10-17 16:59:54 -04:00 committed by GitHub
parent 8d7cc899fb
commit 7a5a381e08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -501,6 +501,8 @@ p.label {
}
.main {
flex-grow: 1;
@include mq(lg) {
max-width: calc(100% - #{$nav-width + $top-button-margin});
}
@ -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 {