From 14b482c3528292b859a89c069f118352f457bc11 Mon Sep 17 00:00:00 2001 From: Alex Humphries Date: Wed, 7 Jan 2026 14:37:00 -0500 Subject: [PATCH 1/2] Add prop to modal component to allow for centering - Defaults to "edge" position, which is to the right on desktop, and bottom on mobile. This *should* be the same as current behavior. - When set to "center", mobile appearance is mostly unchanged (mostly just being closer to centered vertically), but desktop modals are centered both vertically and horizontally, with a higher width and a height dependent on content. --- src/digital-components/modal/modal.vue | 70 ++++++++++++------- .../service-zip-modal-question.vue | 1 + 2 files changed, 46 insertions(+), 25 deletions(-) diff --git a/src/digital-components/modal/modal.vue b/src/digital-components/modal/modal.vue index 97f18ee6..22f71a02 100644 --- a/src/digital-components/modal/modal.vue +++ b/src/digital-components/modal/modal.vue @@ -11,17 +11,21 @@ 'hidden.bs.modal': onModalClosed, 'shown.bs.modal': onModalOpened }"> -