From 53feec3e79845ec807d15c272ffe0a1def6321ca Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Fri, 16 Jan 2026 17:33:43 +0500 Subject: [PATCH] MM-66674 - Updating alignment for GenericModal (#34861) * MM-66674 - Updating alignment for GenericModal * Updating modal content sizing --------- Co-authored-by: Mattermost Build --- .../components/src/generic_modal/generic_modal.scss | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 {