Condense toolbar to save some vertical space

This commit is contained in:
Adam Goldsmith 2021-11-15 21:25:34 -05:00
parent 7e4947951b
commit 9ab15f3bd4
2 changed files with 8 additions and 0 deletions

View File

@ -10,3 +10,10 @@
<script src="bundle.js"></script>
</body>
</html>
<style>
.fc .fc-toolbar.fc-header-toolbar {
margin-bottom: 0;
text-align: center;
}
</style>

View File

@ -49,6 +49,7 @@ const calendarOptions: CalendarOptions = {
plugins: [iCalendarPlugin, resourceTimeGridPlugin],
allDaySlot: false,
nowIndicator: true,
headerToolbar: { start: '', center: 'title', end: '' },
initialView: 'resourceTimeGrid',
height: 'auto',
slotMinTime: '8:00',