I configured Fullcalendar on my project, but I notice that on mobile, there is a problem with the layout of the buttons of the header, which is not at all aesthetic
FullCalendar on PC :
FullCalendar on mobile :
Is there anything to do to make it more aesthetic?
This Fullcalender is not responsive so we have to make header forcefully responsive. Add below code in your ngOnInit()
function.
document.querySelector('style').textContent += "@media screen and (max-width:767px) { .fc-toolbar.fc-header-toolbar {flex-direction:column;} .fc-toolbar-chunk { display: table-row; text-align:center; padding:5px 0; } }";
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With