From ce2c53e382df1d31bfc883dd55495df4c4635b01 Mon Sep 17 00:00:00 2001 From: Mark Taipan <66952680+marktaipan-cvisionai@users.noreply.github.com> Date: Wed, 30 Aug 2023 09:59:47 -0400 Subject: [PATCH 1/2] Merge pull request #1409 from cvisionai/dev/1365-modals-not-scrollable Add max-height to allow scroll and reduce vertical padding --- ui/src/css/components/_modal.scss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ui/src/css/components/_modal.scss b/ui/src/css/components/_modal.scss index f0d3221ea..8c883322b 100644 --- a/ui/src/css/components/_modal.scss +++ b/ui/src/css/components/_modal.scss @@ -1,14 +1,15 @@ .modal-wrap { align-items: flex-start; left: 0; - margin: 15vh auto; + margin: auto; display: none; opacity: 0; visibility: hidden; pointer-events: none; position: fixed; right: 0; - top: 50px; + top: 20px; + bottom: 20px; transform: scale(0.95); transition-duration: 0.25s; transition-property: transform, opacity; @@ -25,6 +26,7 @@ width: 790px; } overflow: auto; + max-height: calc(100vh - 50px); } .modal-wide { From 5b05cc82d4cc3821ba1bed09b4a4b20aa7239b8a Mon Sep 17 00:00:00 2001 From: Hugh Enxing Date: Wed, 6 Sep 2023 18:11:35 -0400 Subject: [PATCH 2/2] Updates `tator-js` submodule --- scripts/packages/tator-js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/packages/tator-js b/scripts/packages/tator-js index ac4b45c51..41b9e3b61 160000 --- a/scripts/packages/tator-js +++ b/scripts/packages/tator-js @@ -1 +1 @@ -Subproject commit ac4b45c510240f146b509a80c27aff470b2627a4 +Subproject commit 41b9e3b6125f5c9f891cec6019e741cf27b76a72