* Add correct start/end time for weekly calendar by looking at calendar's availability * Always show 24h in weekly calendar, added scroll functionality, current time and events in correct timezone * Improved current time style * Show slots for every minute, so also odd timeslots due to offsets work * Show correct timeformat for weekly view on left side time stamps * Fix data attr for debug * Position events differently so we can accomodate for offset start times. * Removed schedule from public event api, because we don't use it anymore * Fixed alignment of timeslots in weekview calendar. * Added loading spinner to weekly calendar * Force weekly view calendar hour labels to show 00 minutes, also for gmt x.5 timezones that are offset 30 mins. * Change event duration blocks in weekly calendar when user changes duration in multi duration event * Improved week view slot time label alignments for shorter durations --------- Co-authored-by: Peer Richelsen <peeroke@gmail.com>
19 lines
490 B
CSS
19 lines
490 B
CSS
.scheduler-wrapper {
|
|
--gridDefaultSize: 1.75rem;
|
|
--hoursInDay: 24;
|
|
--minuteInHour:60;
|
|
--gridMobileSize: 100vw;
|
|
--calendar-offset-top: 28px;
|
|
}
|
|
|
|
.scheduler-grid-row-template{
|
|
grid-template-rows: var(--gridMobileSize) repeat(attr(data-gridstoperperday number), var(--gridMobileSize)) auto;
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
.scheduler-grid-row-template {
|
|
grid-template-rows: var(--gridDefaultSize) repeat(attr(data-gridstoperperday number), var(--gridDefaultSize)) auto;
|
|
}
|
|
}
|
|
|