From e90b3e050b44793804ea6c0c3b329d541b8aa6a9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 17 Oct 2023 21:00:35 +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 d38f7d679e..c5cda9c056 100755 --- a/_sass/custom/custom.scss +++ b/_sass/custom/custom.scss @@ -489,6 +489,8 @@ p.label { } .main { + flex-grow: 1; + @include mq(lg) { max-width: calc(100% - #{$nav-width + $top-button-margin}); } @@ -500,8 +502,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 {