From b9d6f7b9fed6d7ac87e87befaa4a17a3666ac37e Mon Sep 17 00:00:00 2001 From: Jeremy Farrance Date: Fri, 24 Feb 2023 17:28:38 -0600 Subject: [PATCH] Temp fix Resource Manager default height Temporary fix for next patch release to give the Resource Manager a better default height. In brief, the default height is currently hard-coded to 400px. This CSS-only fix instead bases the height on the browser's height using "100vh - 25rem" which basically means the resource manager's height will be (dynamically) about 400px less than the browser's height (to account for the theme's header and footer at least). We've also set a min-height of 30rem (appx 480px). Read Issue #5361 for more details. https://github.com/dnnsoftware/Dnn.Platform/issues/5361 --- .../components/dnn-resource-manager/dnn-resource-manager.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DNN Platform/Modules/ResourceManager/ResourceManager.Web/src/components/dnn-resource-manager/dnn-resource-manager.scss b/DNN Platform/Modules/ResourceManager/ResourceManager.Web/src/components/dnn-resource-manager/dnn-resource-manager.scss index 9eb1d293f94..8f1718bc41c 100644 --- a/DNN Platform/Modules/ResourceManager/ResourceManager.Web/src/components/dnn-resource-manager/dnn-resource-manager.scss +++ b/DNN Platform/Modules/ResourceManager/ResourceManager.Web/src/components/dnn-resource-manager/dnn-resource-manager.scss @@ -9,7 +9,8 @@ flex-direction: column; dnn-vertical-splitview{ width: 100%; - height: 400px; + height: calc(100vh - 25rem); + min-height: 30rem; --left-pane-background-color: lightgray; --right-pane-background-color: white; .splitter{