Merge pull request #841 from Safelite/feature/richardson/SSR-1466

move disclaimer text under footer
This commit is contained in:
brich1212safe 2024-09-12 12:32:09 -04:00 committed by GitHub
commit bd4d514548
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 16 additions and 5 deletions

View file

@ -123,7 +123,7 @@ export default {
} }
}, },
watch: { watch: {
$route(newVal, oldVal) { $route() {
this.closeModal(); this.closeModal();
} }
}, },

View file

@ -1,3 +1,4 @@
<!-- eslint-disable vue/no-v-html -->
<template> <template>
<Form <Form
ref="theForm" ref="theForm"
@ -71,10 +72,6 @@
isRequired isRequired
:validationRules="rules.selectionRequired"> :validationRules="rules.selectionRequired">
</buttonQuestion> </buttonQuestion>
<textBlock
v-if="isQuoteDisplayed"
:customText="disclaimerText"
typeStyle="caption" />
<siteFooter <siteFooter
:ref="SITE_FOOTER_REF_NAME" :ref="SITE_FOOTER_REF_NAME"
class="mt-5" class="mt-5"
@ -82,6 +79,10 @@
:isForwardActionDisabled="!meta.valid" :isForwardActionDisabled="!meta.valid"
@backClicked="navigateBackByVehicleQuestions" @backClicked="navigateBackByVehicleQuestions"
@forwardClicked="navigateForward" /> @forwardClicked="navigateForward" />
<textBlock
v-if="isQuoteDisplayed"
:customText="disclaimerText"
typeStyle="caption" />
</div> </div>
</div> </div>
</div> </div>
@ -347,6 +348,7 @@ export default {
selectedProvider() { selectedProvider() {
if (this.selectedProvider && this.selectedProvider !== SAFELITE_PROVIDER) { if (this.selectedProvider && this.selectedProvider !== SAFELITE_PROVIDER) {
this.$refs[this.CANCEL_CLAIM_REF_NAME].openModal(); this.$refs[this.CANCEL_CLAIM_REF_NAME].openModal();
this.selectedProvider = '';
} }
}, },
nextStepsBody(newValue, oldValue) { nextStepsBody(newValue, oldValue) {
@ -516,6 +518,15 @@ export default {
text-align: left; text-align: left;
} }
} }
.button-question {
:deep(fieldset) {
div.col:last-child {
label {
margin-bottom: 0;
}
}
}
}
} }
:deep .deductible-modal { :deep .deductible-modal {