Skip to content

Commit

Permalink
fixup! enhanc: keep calendar always open
Browse files Browse the repository at this point in the history
Signed-off-by: greta <gretadoci@gmail.com>
  • Loading branch information
GretaD committed Sep 6, 2024
1 parent 36a1543 commit 0b4f46c
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion src/views/Appointments/Booking.vue
Original file line number Diff line number Diff line change
Expand Up @@ -295,14 +295,44 @@ export default {
&__slots {
display: flex;
flex-direction: column;
max-height: 400px;
max-height: 480px;
overflow-y: auto;
}
}
:deep(.mx-input-wrapper) {
display: none;
}
:deep(.mx-datepicker-main) {
border: 0;
}
h2, h3, h4, h5 {
margin-top: 0;
}
:deep(.mx-datepicker-main .mx-table .cell.disabled) {
border-radius: var(--border-radius-small);
background-color: transparent;
color: var(--color-main-text);
opacity: 1;

Check warning on line 315 in src/views/Appointments/Booking.vue

View check run for this annotation

Codecov / codecov/patch

src/views/Appointments/Booking.vue#L314-L315

Added lines #L314 - L315 were not covered by tests
}
:deep(.mx-datepicker-main .mx-table .cell) {
border-radius: var(--border-radius-small);
min-height: 30px;

Check warning on line 319 in src/views/Appointments/Booking.vue

View check run for this annotation

Codecov / codecov/patch

src/views/Appointments/Booking.vue#L319

Added line #L319 was not covered by tests
opacity: 1;
}
:deep(.mx-calendar-header button) {
border-radius: var(--border-radius-small);
opacity: 1;

Check warning on line 324 in src/views/Appointments/Booking.vue

View check run for this annotation

Codecov / codecov/patch

src/views/Appointments/Booking.vue#L324

Added line #L324 was not covered by tests
background-color: transparent;
}

Check warning on line 327 in src/views/Appointments/Booking.vue

View check run for this annotation

Codecov / codecov/patch

src/views/Appointments/Booking.vue#L326-L327

Added lines #L326 - L327 were not covered by tests
:deep(.mx-table thead > tr > th) {
color: var(--color-text-maxcontrast);
opacity: 1;
}
:deep(.mx-datepicker-main .mx-table .cell.not-current-month) {
color: var(--color-text-maxcontrast);
}
:deep(.mx-datepicker-main .mx-table .cell.today) {
background-color: var(--color-primary-element);

Check warning on line 336 in src/views/Appointments/Booking.vue

View check run for this annotation

Codecov / codecov/patch

src/views/Appointments/Booking.vue#L335-L336

Added lines #L335 - L336 were not covered by tests
}
</style>

0 comments on commit 0b4f46c

Please sign in to comment.