How to get rid of fullCalendar scrolling?

5 html css jquery fullcalendar

I wrapped the <div id="calendar"></div> area.

As follows:

<div id="calendarContainer">
  <div id="calendar"></div>
</div>
Run Code Online (Sandbox Code Playgroud)

After that, I modified the width and height of the #calendarContainer to 500px x 500px.  

From now on, I will explain what I want to do with pictures.

在此处输入图片说明

I want to change the picture above as shown below.

在此处输入图片说明

How do I fix css?

I'd like to remove the side scrolling as much as possible.

p.s) I did the following work. As a result, the scrolling is gone, but the heat is broken.

.fc-scroller { overflow-y: hidden !important; }
Run Code Online (Sandbox Code Playgroud)

在此处输入图片说明

Mos*_*Feu 3

It's a little hacky but maybe is the best you can achieve. The idea is to override the styles.

$('#calendar').fullCalendar();
Run Code Online (Sandbox Code Playgroud)
#calendarContainer {
  width: 500px;
  height: 500px;
}

.fc-scroller {
  height: auto !important;
}

.fc-head .fc-widget-header {
  margin-right: 0 !important;
}

.fc-scroller {
  overflow: visible !important;
}
Run Code Online (Sandbox Code Playgroud)
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.20.1/moment.min.js"></script>
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/3.8.0/fullcalendar.min.css" rel="stylesheet"/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/fullcalendar/3.8.0/fullcalendar.min.js"></script>

<div id="calendarContainer">
  <div id="calendar"></div>
</div>
Run Code Online (Sandbox Code Playgroud)