CC-1811 schedule view/add show screens make calendar height less than one screen size to prevent outer browser scrollbar.
This commit is contained in:
parent
dc2b59a634
commit
24da57ae4f
|
@ -1,3 +1,7 @@
|
|||
body {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#schedule-add-show,
|
||||
#fullcalendar_show_display {
|
||||
float: left;
|
||||
|
@ -106,4 +110,4 @@ label.wrapp-label input[type="checkbox"] {
|
|||
padding:8px;
|
||||
color:#902d2d;
|
||||
display:none;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -128,4 +128,8 @@ $(document).ready(function() {
|
|||
eventRender: eventRender
|
||||
});
|
||||
|
||||
var mainHeight = document.documentElement.clientHeight - 200 - 50;
|
||||
|
||||
$('#fullcalendar_show_display').fullCalendar('option', 'contentHeight', mainHeight);
|
||||
|
||||
});
|
||||
|
|
|
@ -256,12 +256,9 @@ $(document).ready(function() {
|
|||
|
||||
});
|
||||
|
||||
$(window).load(function(){
|
||||
|
||||
var mainHeight = this.innerHeight - 200 - 50;
|
||||
var mainHeight = document.documentElement.clientHeight - 200 - 50;
|
||||
|
||||
$('#schedule_calendar').fullCalendar('option', 'contentHeight', mainHeight);
|
||||
});
|
||||
$('#schedule_calendar').fullCalendar('option', 'contentHeight', mainHeight);
|
||||
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue