From f87096a6c7cb5cb73c33cac1042663f6ad42d1fc Mon Sep 17 00:00:00 2001 From: Sal Tijerina Date: Tue, 11 Jun 2024 17:19:38 -0500 Subject: [PATCH] full length workspace content; apps side nav scrolls (#1290) --- client/src/styles.css | 20 ++++++++++++++++++++ designsafe/static/styles/main.css | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/client/src/styles.css b/client/src/styles.css index 3ab495ceb8..a8f1449f90 100644 --- a/client/src/styles.css +++ b/client/src/styles.css @@ -112,3 +112,23 @@ .ant-collapse-header:focus-visible { outline: -webkit-focus-ring-color auto 1px !important; } + +.o-site__body, +#apps-root, +#apps-root > div.ant-flex, +.ant-layout-has-sider, +.ant-layout-sider { + height: 100%; + overflow: hidden; +} + +/* Do NOT scroll "Applications:" and "Job Status" */ +.ant-layout-sider-children { + overflow-y: hidden; +} + +/* DO scroll app category menu */ +.ant-layout-sider-children > header + div + ul { + overflow: auto; + height: 100%; +} diff --git a/designsafe/static/styles/main.css b/designsafe/static/styles/main.css index 675229e2d8..afe8d9e043 100644 --- a/designsafe/static/styles/main.css +++ b/designsafe/static/styles/main.css @@ -959,7 +959,7 @@ li .popover.right { flex-direction: column; flex-grow: 1; flex-shrink: 0; - flex-basis: auto; + flex-basis: 0; } .o-site__body > .container-fluid {