简体   繁体   中英

FullCalendar How can I resize the cell height of my header?

I need to resize the cell height of my fullCalendar header. Currently there is too much white space (padding?) on the top and below of the month. Here is what it currently looks like. 在此处输入图片说明

I would like it to display more like this

在此处输入图片说明

Actually the two images look pretty similar. I guess I just don't want any white space above or below the month text. Please help if you can. Thanks

You could try with this jQuery line after FullCalendar in instantiated::

$(".fc-toolbar").css({"margin-bottom":0});

Or via a CSS rule (probably the best way):

.fc-toolbar{
  margin-bottom:0 !important;
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM