Merge pull request #1159 from Safelite/feature/CSR-1137

CSR-1137 | Defect fixes
This commit is contained in:
scottkiener 2023-06-12 08:30:24 -04:00 committed by GitHub
commit 26eee4773b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,7 @@
validationRules="time-slot-required"
class="mt-5" />
<div
class="mt-1 mb-2"
class="mt-1 mb-2 supplemental-information"
v-if="supplementalInformationBlock"
v-html="supplementalInformationBlock"></div>
<textBlock
@ -32,7 +32,7 @@
:customText="dropoffDisclaimerText"
justifyText="left"
typeStyle="caption"
class="mb-2" />
class="mb-2 mt-4" />
</modal>
</template>
@ -110,10 +110,11 @@ export default {
if (this.appointmentType === AppointmentTypeStrings.IN_SHOP) {
return null;
} else if (this.appointmentType === AppointmentTypeStrings.MOBILE) {
appointmentTypeCmsWidgetName =
this.selectedTimeSlotId === this.premiumAppointmentButtonText
? this.mobilePremiumCmsWidgetName
: this.mobileCmsWidgetName;
appointmentTypeCmsWidgetName = this.selectedTimeSlotId?.includes(
PREMIUM_TIME_SLOT_ID_FLAG
)
? this.mobilePremiumCmsWidgetName
: this.mobileCmsWidgetName;
} else {
appointmentTypeCmsWidgetName = this.isSameDay
? this.sameDayDropOffCmsWidgetName
@ -317,5 +318,15 @@ export default {
.text-block.duration-text-block {
margin-top: 0 !important;
}
.supplemental-information {
line-height: 1.5rem;
font-size: 0.875rem;
li strong {
font-weight: $font-weight-bold;
}
li:not(:last-child) {
margin-bottom: 16px;
}
}
}
</style>