Add a year view to the calendar
All checks were successful
Build and deploy static pages / build-and-push (push) Successful in 13s
All checks were successful
Build and deploy static pages / build-and-push (push) Successful in 13s
Pull in @fullcalendar/multimonth so the deadline calendar can show all twelve months at once, between the month grid and the year list. Events render as dots there and the type scales down, so the month tables stay legible two or three to a row. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -32,5 +32,13 @@
|
||||
.fc .fc-daygrid-day-number, .fc .fc-col-header-cell-cushion { color: var(--secondary); }
|
||||
.fc .fc-day-today .fc-daygrid-day-number { color: var(--accent); font-weight: 600; }
|
||||
.fc-event { border-radius: 4px; }
|
||||
/* Year view: months sit two or three to a row, so scale the text down and
|
||||
let event titles ellipsize instead of stretching the month tables. */
|
||||
.fc .fc-multimonth-title { font-size: 0.95rem; padding: 0.7em 0; }
|
||||
.fc .fc-multimonth-multicol .fc-multimonth-month { padding: 0 0.6em 1em; }
|
||||
.fc-multimonth .fc-daygrid-day-number,
|
||||
.fc-multimonth .fc-col-header-cell-cushion { font-size: 0.7rem; }
|
||||
.fc-multimonth .fc-event { font-size: 0.68rem; }
|
||||
.fc-multimonth .fc-event-title { text-overflow: ellipsis; }
|
||||
</style>
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user