Skip to content
Snippets Groups Projects
Commit b52672dd authored by Konrad Mohrfeldt's avatar Konrad Mohrfeldt :koala:
Browse files

feat: show current time indicator in calendar

refs #156
parent 649b4c0b
No related branches found
No related tags found
No related merge requests found
......@@ -340,6 +340,7 @@ export default {
slotLabelFormat: { hour: 'numeric', minute: '2-digit' },
allDaySlot: false,
editable: false,
nowIndicator: true,
datesSet: (view) => {
if (
this.currentStart?.toISOString?.() !== view.start.toISOString() ||
......
......@@ -11,4 +11,17 @@ body {
#app {
color: #2e3436;
.fc {
.fc-timegrid-now-indicator-line {
border-width: 2px 0 0;
transform: translateY(-1px);
}
.fc-timegrid-now-indicator-line,
.fc-timegrid-now-indicator-arrow {
--fc-now-indicator-color: hsl(335deg 75% 40% / 80%);
mix-blend-mode: multiply;
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment