Merge pull request #2460 from Safelite/feature/CASH-464-more
CASH-464: fix supplemental info styling
This commit is contained in:
commit
a96c632fd4
3 changed files with 23 additions and 1 deletions
|
|
@ -1260,11 +1260,22 @@ export default {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
gap: 0 0.5rem;
|
gap: 0 0.5rem;
|
||||||
|
justify-content: center;
|
||||||
|
|
||||||
& > div {
|
& > div {
|
||||||
flex: 0 0 calc(50% - 0.25rem);
|
flex: 0 0 calc(50% - 0.25rem);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
:deep(.button-question.is-mobile-appointment) {
|
||||||
|
.button-inner-wrapper > div {
|
||||||
|
flex: 0 0 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
:deep(.button-question.is-drop-off-appointment) {
|
||||||
|
.button-inner-wrapper > div {
|
||||||
|
flex: 0 0 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-link {
|
.btn-link {
|
||||||
|
|
|
||||||
|
|
@ -257,7 +257,7 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
// Check to see if pre-selected date should have pricing by day upcharge
|
// Check to see if pre-selected date should have pricing by day upcharge
|
||||||
if (showPricingByDay) {
|
if (showPricingByDay) {
|
||||||
// is this preSelectedDate a premium day?
|
// is this preSelectedDate a higher priced pricingByDay day?
|
||||||
const dayIndex = convertDateStringToDate(preSelectedSlot?.date).getDay();
|
const dayIndex = convertDateStringToDate(preSelectedSlot?.date).getDay();
|
||||||
const dayObject = DAYS_OF_WEEK[dayIndex];
|
const dayObject = DAYS_OF_WEEK[dayIndex];
|
||||||
if (dayObject.isPricingByDayUpchargeDay) {
|
if (dayObject.isPricingByDayUpchargeDay) {
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,10 @@
|
||||||
buttonTypeString="timeSlotModalListButton"
|
buttonTypeString="timeSlotModalListButton"
|
||||||
:buttonTypeObject="timeSlotModalListButton"
|
:buttonTypeObject="timeSlotModalListButton"
|
||||||
class="mt-4"
|
class="mt-4"
|
||||||
|
:class="[
|
||||||
|
isMobileAppointment ? 'is-mobile-appointment' : '',
|
||||||
|
isDropOffAppointment ? 'is-drop-off-appointment' : '',
|
||||||
|
]"
|
||||||
:answers="availableTimeSlots"
|
:answers="availableTimeSlots"
|
||||||
groupName="chooseTimeSlot"
|
groupName="chooseTimeSlot"
|
||||||
textPosition="text-center"
|
textPosition="text-center"
|
||||||
|
|
@ -353,6 +357,12 @@ export default {
|
||||||
waitListSuccessText() {
|
waitListSuccessText() {
|
||||||
return this.getCmsContent("WaitListSuccessWidget", "BodyText");
|
return this.getCmsContent("WaitListSuccessWidget", "BodyText");
|
||||||
},
|
},
|
||||||
|
isMobileAppointment() {
|
||||||
|
return this.appointmentType === AppointmentTypeStrings.MOBILE;
|
||||||
|
},
|
||||||
|
isDropOffAppointment() {
|
||||||
|
return this.appointmentType === AppointmentTypeStrings.DROP_OFF;
|
||||||
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async setSelectedTimeSlot() {
|
async setSelectedTimeSlot() {
|
||||||
|
|
@ -563,6 +573,7 @@ export default {
|
||||||
.supplemental-information {
|
.supplemental-information {
|
||||||
line-height: 1.5rem;
|
line-height: 1.5rem;
|
||||||
font-size: 0.875rem;
|
font-size: 0.875rem;
|
||||||
|
text-align: left;
|
||||||
li strong {
|
li strong {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue