diff --git a/src/scripts/tutti/00_utils.js b/src/scripts/tutti/00_utils.js index ce09930..8c0eaf2 100644 --- a/src/scripts/tutti/00_utils.js +++ b/src/scripts/tutti/00_utils.js @@ -135,5 +135,11 @@ $('#modal').on('hidden.bs.modal', function () { // 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 + + // TODO: Make item-details a popup for easier browsing + if ($(this).width() < 768){ + window_height = window_height / 2 + } + $('.col-scrollable').css({'height': window_height}); });