Skip to content

Commit

Permalink
Adjust Calendar Spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
o-psi committed Feb 14, 2024
1 parent f573f04 commit 09f7f8b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions calendar_events.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,19 +86,21 @@
navLinks: true, // can click day/week names to navigate views
selectable: true,
height: '90vh',

selectMirror: true,
eventClick: function(editEvent) {
$('#editEventModal' + editEvent.event.id).modal();
},
dayMaxEvents: true, // allow "more" link when too many events
views: {
timeGrid: {
dayMaxEventRows: 5, // adjust to 6 only for timeGridWeek/timeGridDay
dayMaxEventRows: 3, // adjust to 6 only for timeGridWeek/timeGridDay
expandRows: true,
nowIndicator: true,
eventMaxStack: 1,
},
dayGrid: {
dayMaxEvents: 5, // adjust to 6 only for timeGridWeek/timeGridDay
dayMaxEvents: 3, // adjust to 6 only for timeGridWeek/timeGridDay
expandRows: true,
},

Expand Down

0 comments on commit 09f7f8b

Please sign in to comment.