Fix not showing multi day events on mobile (#17660)

This commit is contained in:
Bram Kragten 2023-08-22 11:07:46 +02:00 committed by GitHub
parent 811edfcc0f
commit e3f53e90e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -645,27 +645,19 @@ export class HAFullCalendar extends LitElement {
:host([narrow])
.fc-dayGridMonth-view
.fc-daygrid-dot-event
.fc-event-title,
:host([narrow]) .fc-dayGridMonth-view .fc-daygrid-day-bottom {
.fc-event-title {
display: none;
}
:host([narrow])
.fc
.fc-dayGridMonth-view
.fc-daygrid-event-harness-abs {
visibility: visible !important;
position: static;
:host([narrow]) .fc-dayGridMonth-view .fc-daygrid-event-harness {
margin-top: 0 !important;
}
:host([narrow]) .fc-dayGridMonth-view .fc-daygrid-day-events {
display: flex;
min-height: 2em !important;
align-items: center;
justify-content: center;
flex-wrap: wrap;
max-height: 2em;
height: 2em;
overflow: hidden;
}
:host([narrow]) .fc-dayGridMonth-view .fc-scrollgrid-sync-table {