CSR-1012 | moved body padding into modal component

This commit is contained in:
Matt Caimi 2023-01-27 10:46:04 -05:00
parent 7d87ff3240
commit f31574e356
4 changed files with 23 additions and 23 deletions

View file

@ -17,7 +17,9 @@
data-bs-dismiss="modal"
aria-label="Close"></button>
</div>
<slot></slot>
<div class="modal-body ps-5 pe-5 pt-5 pb-4">
<slot></slot>
</div>
<div class="modal-footer px-5 py-4">
<buttonMain
isPrimary

View file

@ -4,16 +4,14 @@
:modalId="ModalName"
:footerButtonText="ModalCloseButtonText"
@footer-button-event="footerButtonClick">
<div class="modal-body ps-4 pe-4 pt-5 pb-4">
<img :src="ModalImage" class="mw-100 d-flex mx-auto mb-4" alt="" />
<h5 class="mb-4" v-html="ModalHeadline"></h5>
<p class="fw-bold mb-2 subheader-text" v-html="ModalSubheadertext"></p>
<p class="mb-0" v-html="ModalBodyText"></p>
<p
class="my-4 caption modal-sub-body"
v-if="ModalSubBodyText"
v-html="ModalSubBodyText"></p>
</div>
<img :src="ModalImage" class="mw-100 d-flex mx-auto mb-4" alt="" />
<h5 class="mb-4" v-html="ModalHeadline"></h5>
<p class="fw-bold mb-2 subheader-text" v-html="ModalSubheadertext"></p>
<p class="mb-0" v-html="ModalBodyText"></p>
<p
class="my-4 caption modal-sub-body"
v-if="ModalSubBodyText"
v-html="ModalSubBodyText"></p>
</modal>
</template>

View file

@ -19,17 +19,16 @@
</div>
<modal
ref="mobileServiceModal"
:cmsWidgetName="this.modalWidgetName"
:modalId="this.modalWidgetName"
:onModalOpenedCallback="onModalOpened"
:footerButtonCallback="saveMobileLocationData">
<div class="modal-body ps-5 pe-5 pt-5 pb-4">
<addressQuestions
ref="addressQuestions"
v-model="mobileQuestionModel.addressQuestions"
captureApartmentNumberOrBusinessName="true" />
<vehicleProtectedQuestion v-model="mobileQuestionModel.selectedValue"/>
<textBlock cmsWidgetName="QuoteEmailTextBlockWidget" typeStyle="caption" />
</div>
:footerButtonText="mobileLocationDisplayText"
@footer-button-event="saveMobileLocationData">
<addressQuestions
ref="addressQuestions"
v-model="mobileQuestionModel.addressQuestions"
captureApartmentNumberOrBusinessName="true" />
<vehicleProtectedQuestion v-model="mobileQuestionModel.selectedValue"/>
<textBlock cmsWidgetName="QuoteEmailTextBlockWidget" typeStyle="caption" />
</modal>
</template>
@ -106,6 +105,9 @@ export default {
input.focus();
});
},
saveMobileLocationData() {
},
},
computed: {
getModalId() {

View file

@ -22,7 +22,6 @@
:onModalOpenedCallback="onModalOpened"
:footerButtonText="footerButtonText"
@footer-button-event="setZip">
<div class="ps-4 pe-4 pb-4">
<textboxQuestion
ref="zipInputTextQuestion"
:cmsWidgetName="this.textboxQuestionWidgetName"
@ -48,7 +47,6 @@
:manualHeadline="AlertNonServiceableZipHeader"
alertClass="alert-danger"
v-bind:isDismissible="false" />
</div>
</modal>
</template>