Hide horizontal scroll when not in use

This commit is contained in:
2016-11-10 11:44:47 +01:00
parent ca69b43839
commit 36d076c228
2 changed files with 2 additions and 2 deletions

View File

@@ -134,7 +134,7 @@ $('#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
var window_height = $(this).height() - 40; // header is 40px
// TODO: Make item-details a popup for easier browsing
if ($(this).width() < 768){

View File

@@ -55,7 +55,7 @@ body
/* Attract specific table tweaks */
.item-list
overflow-x: scroll
overflow-x: auto
.table
background-color: white
.table-row:hover