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%;
|
||||
flex-wrap: wrap;
|
||||
gap: 0 0.5rem;
|
||||
justify-content: center;
|
||||
|
||||
& > div {
|
||||
flex: 0 0 calc(50% - 0.25rem);
|
||||
|
|
@ -1270,6 +1271,11 @@ export default {
|
|||
flex: 0 0 100%;
|
||||
}
|
||||
}
|
||||
:deep(.button-question.is-drop-off-appointment) {
|
||||
.button-inner-wrapper > div {
|
||||
flex: 0 0 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.btn-link {
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
buttonTypeString="timeSlotModalListButton"
|
||||
:buttonTypeObject="timeSlotModalListButton"
|
||||
class="mt-4"
|
||||
:class="isMobileAppointment ? 'is-mobile-appointment' : ''"
|
||||
:class="[isMobileAppointment ? 'is-mobile-appointment' : '', isDropOffAppointment ? 'is-drop-off-appointment' : '']"
|
||||
:answers="availableTimeSlots"
|
||||
groupName="chooseTimeSlot"
|
||||
textPosition="text-center"
|
||||
|
|
@ -357,6 +357,9 @@ export default {
|
|||
isMobileAppointment() {
|
||||
return this.appointmentType === AppointmentTypeStrings.MOBILE;
|
||||
},
|
||||
isDropOffAppointment() {
|
||||
return this.appointmentType === AppointmentTypeStrings.DROP_OFF;
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
async setSelectedTimeSlot() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue