feat(calendar): add now indicator line

This commit is contained in:
Johannes Millan 2021-01-07 12:50:35 +01:00
parent 29167fd91a
commit bfbad5318f
2 changed files with 6 additions and 0 deletions

View File

@ -27,6 +27,7 @@ export class CalendarComponent {
private DEFAULT_CAL_OPTS: CalendarOptions = {
editable: true,
slotDuration: '00:15:00',
nowIndicator: true,
timeZone: 'local', // the default (unnecessary to specify)
eventResize: (calEvent: any) => {
const start = calEvent.event._instance.range.start;

View File

@ -22,3 +22,8 @@
}
}
}
.fc .fc-timegrid-now-indicator-line {
border-color: $c-accent !important;
box-shadow: $shadow-card-shadow;
}