From 2fa5153ed8a9ec5db330ecd1702665e31c944c97 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Tue, 17 Oct 2023 17:04:31 -0400 Subject: [PATCH] Fix the minimum width of the main section of the page (#5272) (#5285) (cherry picked from commit 7a5a381e0893a4e1fe8af0a991c76d670b4b7919) Signed-off-by: Fanit Kolchina Signed-off-by: github-actions[bot] Co-authored-by: github-actions[bot] --- _sass/custom/custom.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/_sass/custom/custom.scss b/_sass/custom/custom.scss index 2f002720f0..93345de3b3 100755 --- a/_sass/custom/custom.scss +++ b/_sass/custom/custom.scss @@ -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 {