Hide horizontal scroll when not in use
This commit is contained in:
@@ -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){
|
||||
|
@@ -55,7 +55,7 @@ body
|
||||
|
||||
/* Attract specific table tweaks */
|
||||
.item-list
|
||||
overflow-x: scroll
|
||||
overflow-x: auto
|
||||
.table
|
||||
background-color: white
|
||||
.table-row:hover
|
||||
|
Reference in New Issue
Block a user