From a02ef4f1d71b8428eda45bb983674a318d8a3949 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Sun, 13 Aug 2023 22:09:27 +0200 Subject: [PATCH] Issue #2284 - Adjust some in-content CSS to account for flex definite-sizing change. As of this change, flex items in a vertical flex container will sometimes be considered to have "indefinite" sizes, i.e. percent sizes in them will no longer resolve. To work around this, they need to provide a definite flex-basis (e.g. as part of the "flex" shorthand property) if we want percent sizes to resolve (instead of being treated as "auto") inside of them. --- toolkit/themes/shared/in-content/info-pages.inc.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolkit/themes/shared/in-content/info-pages.inc.css b/toolkit/themes/shared/in-content/info-pages.inc.css index 4889602a09..29fcbe1ea8 100644 --- a/toolkit/themes/shared/in-content/info-pages.inc.css +++ b/toolkit/themes/shared/in-content/info-pages.inc.css @@ -96,7 +96,7 @@ ul { /* Trees */ .tree-container { margin-top: 1.2em; - flex-grow: 1; + flex: 1 0px; min-height: 12em; }