Use col-scrollable for columns that need fixed height
This commit is contained in:
@@ -131,3 +131,9 @@
|
||||
$('#modal').on('hidden.bs.modal', function () {
|
||||
$("#modal .modal-body").html('');
|
||||
});
|
||||
|
||||
// Set height of shot-list and item details so we can scroll inside them
|
||||
$(window).on('load resize', function(){
|
||||
var window_height = $(this).height() - 50; // header is 50px
|
||||
$('.col-scrollable').css({'height': window_height});
|
||||
});
|
||||
|
@@ -135,11 +135,4 @@ script.
|
||||
handleSelector: ".col-splitter",
|
||||
resizeHeight: false
|
||||
});
|
||||
|
||||
// Set height of shot-list and item details so we can scroll inside them
|
||||
$(window).on('load resize', function(){
|
||||
var window_height = $(window).height() - 50; // header is 50px
|
||||
$('#shot-list').css({'height': window_height});
|
||||
$('#item-details').css({'height': window_height});
|
||||
});
|
||||
| {% endblock footer_scripts %}
|
||||
|
@@ -51,11 +51,4 @@ script.
|
||||
handleSelector: ".col-splitter",
|
||||
resizeHeight: false
|
||||
});
|
||||
|
||||
$(window).on('load resize', function(){
|
||||
var window_height = $(window).height() - 50;
|
||||
var task_list = document.getElementById('task-list');
|
||||
$('#task-list').css({'height': window_height});
|
||||
$('#item-details').css({'height': window_height});
|
||||
});
|
||||
| {% endblock %}
|
||||
|
Reference in New Issue
Block a user