CSR-1012 | moved body padding into modal component
This commit is contained in:
parent
c782dd7e9f
commit
dfa889b4a6
4 changed files with 23 additions and 23 deletions
|
|
@ -17,7 +17,9 @@
|
||||||
data-bs-dismiss="modal"
|
data-bs-dismiss="modal"
|
||||||
aria-label="Close"></button>
|
aria-label="Close"></button>
|
||||||
</div>
|
</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">
|
<div class="modal-footer px-5 py-4">
|
||||||
<buttonMain
|
<buttonMain
|
||||||
isPrimary
|
isPrimary
|
||||||
|
|
|
||||||
|
|
@ -4,16 +4,14 @@
|
||||||
:modalId="ModalName"
|
:modalId="ModalName"
|
||||||
:footerButtonText="ModalCloseButtonText"
|
:footerButtonText="ModalCloseButtonText"
|
||||||
@footer-button-event="footerButtonClick">
|
@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="" />
|
||||||
<img :src="ModalImage" class="mw-100 d-flex mx-auto mb-4" alt="" />
|
<h5 class="mb-4" v-html="ModalHeadline"></h5>
|
||||||
<h5 class="mb-4" v-html="ModalHeadline"></h5>
|
<p class="fw-bold mb-2 subheader-text" v-html="ModalSubheadertext"></p>
|
||||||
<p class="fw-bold mb-2 subheader-text" v-html="ModalSubheadertext"></p>
|
<p class="mb-0" v-html="ModalBodyText"></p>
|
||||||
<p class="mb-0" v-html="ModalBodyText"></p>
|
<p
|
||||||
<p
|
class="my-4 caption modal-sub-body"
|
||||||
class="my-4 caption modal-sub-body"
|
v-if="ModalSubBodyText"
|
||||||
v-if="ModalSubBodyText"
|
v-html="ModalSubBodyText"></p>
|
||||||
v-html="ModalSubBodyText"></p>
|
|
||||||
</div>
|
|
||||||
</modal>
|
</modal>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,17 +19,16 @@
|
||||||
</div>
|
</div>
|
||||||
<modal
|
<modal
|
||||||
ref="mobileServiceModal"
|
ref="mobileServiceModal"
|
||||||
:cmsWidgetName="this.modalWidgetName"
|
:modalId="this.modalWidgetName"
|
||||||
:onModalOpenedCallback="onModalOpened"
|
:onModalOpenedCallback="onModalOpened"
|
||||||
:footerButtonCallback="saveMobileLocationData">
|
:footerButtonText="mobileLocationDisplayText"
|
||||||
<div class="modal-body ps-5 pe-5 pt-5 pb-4">
|
@footer-button-event="saveMobileLocationData">
|
||||||
<addressQuestions
|
<addressQuestions
|
||||||
ref="addressQuestions"
|
ref="addressQuestions"
|
||||||
v-model="mobileQuestionModel.addressQuestions"
|
v-model="mobileQuestionModel.addressQuestions"
|
||||||
captureApartmentNumberOrBusinessName="true" />
|
captureApartmentNumberOrBusinessName="true" />
|
||||||
<vehicleProtectedQuestion v-model="mobileQuestionModel.selectedValue"/>
|
<vehicleProtectedQuestion v-model="mobileQuestionModel.selectedValue"/>
|
||||||
<textBlock cmsWidgetName="QuoteEmailTextBlockWidget" typeStyle="caption" />
|
<textBlock cmsWidgetName="QuoteEmailTextBlockWidget" typeStyle="caption" />
|
||||||
</div>
|
|
||||||
</modal>
|
</modal>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
@ -106,6 +105,9 @@ export default {
|
||||||
input.focus();
|
input.focus();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
saveMobileLocationData() {
|
||||||
|
|
||||||
|
},
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
getModalId() {
|
getModalId() {
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,6 @@
|
||||||
:onModalOpenedCallback="onModalOpened"
|
:onModalOpenedCallback="onModalOpened"
|
||||||
:footerButtonText="footerButtonText"
|
:footerButtonText="footerButtonText"
|
||||||
@footer-button-event="setZip">
|
@footer-button-event="setZip">
|
||||||
<div class="ps-4 pe-4 pb-4">
|
|
||||||
<textboxQuestion
|
<textboxQuestion
|
||||||
ref="zipInputTextQuestion"
|
ref="zipInputTextQuestion"
|
||||||
:cmsWidgetName="this.textboxQuestionWidgetName"
|
:cmsWidgetName="this.textboxQuestionWidgetName"
|
||||||
|
|
@ -48,7 +47,6 @@
|
||||||
:manualHeadline="AlertNonServiceableZipHeader"
|
:manualHeadline="AlertNonServiceableZipHeader"
|
||||||
alertClass="alert-danger"
|
alertClass="alert-danger"
|
||||||
v-bind:isDismissible="false" />
|
v-bind:isDismissible="false" />
|
||||||
</div>
|
|
||||||
</modal>
|
</modal>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue