diff --git a/webapp/platform/components/src/generic_modal/generic_modal.scss b/webapp/platform/components/src/generic_modal/generic_modal.scss index 19d2be2848a..a18c23f32d8 100644 --- a/webapp/platform/components/src/generic_modal/generic_modal.scss +++ b/webapp/platform/components/src/generic_modal/generic_modal.scss @@ -5,7 +5,16 @@ } &__location--center { - margin-top: calc(50vh - 240px); + display: flex; + align-items: center; + justify-content: center; + height: 100%; + margin-top: 0; + padding-bottom: 24px; + + .modal-content { + flex: 1 1 auto; + } } &__location--bottom {