From 9c55a3a1a5e276cba4aa3981c6effef0d2a1a50f Mon Sep 17 00:00:00 2001 From: Ashley Robinson Date: Mon, 9 Oct 2023 12:19:20 -0400 Subject: [PATCH] Updated fix for modal to overlap navbar by request. --- .../addon/components/osf-dialog/main/styles.scss | 6 ------ lib/osf-components/addon/components/osf-dialog/styles.scss | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/osf-components/addon/components/osf-dialog/main/styles.scss b/lib/osf-components/addon/components/osf-dialog/main/styles.scss index 209029e991e..8bbf6692da3 100644 --- a/lib/osf-components/addon/components/osf-dialog/main/styles.scss +++ b/lib/osf-components/addon/components/osf-dialog/main/styles.scss @@ -3,9 +3,3 @@ overflow: auto; padding: 1rem 1.25rem; } - -@media (min-width: 501px) and (max-width: 991px) { - .Main { - max-height: 50vh; - } -} diff --git a/lib/osf-components/addon/components/osf-dialog/styles.scss b/lib/osf-components/addon/components/osf-dialog/styles.scss index 9e92801ba9d..f7179c6c6c2 100644 --- a/lib/osf-components/addon/components/osf-dialog/styles.scss +++ b/lib/osf-components/addon/components/osf-dialog/styles.scss @@ -6,6 +6,7 @@ right: 0; padding-bottom: 10vh; + padding-top: 2rem; display: flex; align-items: center; @@ -54,7 +55,6 @@ .Dialog { max-width: $width; - max-height: 55vh; } .Dialog.FixedWidth {