How to increase the space between the two events in fullcalendar

戏子无情 提交于 2019-12-10 23:54:59

问题


I want to increase the space between two events in month view of full calendar.


回答1:


you need to modify css element of event in EventRender Function

you can achieve spacing between events like this

eventRender: function (event, element, view) {

            $(element).css("margin-top", "5px");


              $(element).css("margin-bottom", "5px");

 }


来源:https://stackoverflow.com/questions/22192750/how-to-increase-the-space-between-the-two-events-in-fullcalendar

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!