Skip to content

Commit

Permalink
Fix the minimum width of the main section of the page (opensearch-pro…
Browse files Browse the repository at this point in the history
…ject#5272)

Signed-off-by: Fanit Kolchina <[email protected]>
  • Loading branch information
kolchfa-aws authored and harshavamsi committed Oct 31, 2023
1 parent 421d1ab commit cc17023
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 cc17023

Please sign in to comment.