CASH-464: more styling changes if drop off appointment
This commit is contained in:
parent
b8545709ba
commit
5fae2e79a8
2 changed files with 10 additions and 1 deletions
|
|
@ -1260,6 +1260,7 @@ 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);
|
||||||
|
|
@ -1270,6 +1271,11 @@ export default {
|
||||||
flex: 0 0 100%;
|
flex: 0 0 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
:deep(.button-question.is-drop-off-appointment) {
|
||||||
|
.button-inner-wrapper > div {
|
||||||
|
flex: 0 0 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-link {
|
.btn-link {
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
buttonTypeString="timeSlotModalListButton"
|
buttonTypeString="timeSlotModalListButton"
|
||||||
:buttonTypeObject="timeSlotModalListButton"
|
:buttonTypeObject="timeSlotModalListButton"
|
||||||
class="mt-4"
|
class="mt-4"
|
||||||
:class="isMobileAppointment ? 'is-mobile-appointment' : ''"
|
:class="[isMobileAppointment ? 'is-mobile-appointment' : '', isDropOffAppointment ? 'is-drop-off-appointment' : '']"
|
||||||
:answers="availableTimeSlots"
|
:answers="availableTimeSlots"
|
||||||
groupName="chooseTimeSlot"
|
groupName="chooseTimeSlot"
|
||||||
textPosition="text-center"
|
textPosition="text-center"
|
||||||
|
|
@ -357,6 +357,9 @@ export default {
|
||||||
isMobileAppointment() {
|
isMobileAppointment() {
|
||||||
return this.appointmentType === AppointmentTypeStrings.MOBILE;
|
return this.appointmentType === AppointmentTypeStrings.MOBILE;
|
||||||
},
|
},
|
||||||
|
isDropOffAppointment() {
|
||||||
|
return this.appointmentType === AppointmentTypeStrings.DROP_OFF;
|
||||||
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async setSelectedTimeSlot() {
|
async setSelectedTimeSlot() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue