feat(calendar): add now indicator line
This commit is contained in:
parent
29167fd91a
commit
bfbad5318f
|
@ -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;
|
||||
|
|
|
@ -22,3 +22,8 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.fc .fc-timegrid-now-indicator-line {
|
||||
border-color: $c-accent !important;
|
||||
box-shadow: $shadow-card-shadow;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user