#calendar {
    min-height: 540px;
}

@media screen and (max-width: 400px) {
    .fc .fc-toolbar.fc-header-toolbar {
        margin-bottom: 0!important;
    }
}