From 2ef10a834fef3ac80f52be14edde5e7056de1aed Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 17 Oct 2023 21:00:19 +0000 Subject: [PATCH] Fix the minimum width of the main section of the page (#5272) Signed-off-by: Fanit Kolchina (cherry picked from commit 7a5a381e0893a4e1fe8af0a991c76d670b4b7919) Signed-off-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 4a0f89b1ba..da875f8833 100644 --- a/_sass/custom/custom.scss +++ b/_sass/custom/custom.scss @@ -481,6 +481,8 @@ p.label { } .main { + flex-grow: 1; + @include mq(lg) { max-width: calc(100% - #{$nav-width + $top-button-margin}); } @@ -492,8 +494,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 {