From 7a5a381e0893a4e1fe8af0a991c76d670b4b7919 Mon Sep 17 00:00:00 2001 From: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Date: Tue, 17 Oct 2023 16:59:54 -0400 Subject: [PATCH] Fix the minimum width of the main section of the page (#5272) Signed-off-by: Fanit Kolchina --- _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 {