Add dynamic resizing of calendar

This commit is contained in:
Lars Westermann 2019-06-07 21:19:52 +02:00
parent 990cdaf1a4
commit dce2567160
Signed by: lars.westermann
GPG key ID: 9D417FA5BB9D5E1D
28 changed files with 476 additions and 254 deletions

View file

@ -384,7 +384,7 @@
border-left: none;
}
&:nth-child(4n + 2) .calendar-cell::before {
&:nth-child(4n + 1) .calendar-cell::before {
border-top: solid 1px var(--table-border-color);
}
@ -424,6 +424,10 @@
&.time-to-room {
flex-direction: row;
.calendar-body {
display: flex;
}
.calendar-header, .calendar-row {
flex-direction: column;
line-height: 3rem;
@ -468,7 +472,7 @@
}
}
&:nth-child(2n + 2) .calendar-cell::before {
&:nth-child(4n + 1) .calendar-cell::before {
content: '';
height: 100%;
left: 0;