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
|
// Set height of shot-list and item details so we can scroll inside them
|
||||||
$(window).on('load resize', function(){
|
$(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
|
// TODO: Make item-details a popup for easier browsing
|
||||||
if ($(this).width() < 768){
|
if ($(this).width() < 768){
|
||||||
|
@@ -55,7 +55,7 @@ body
|
|||||||
|
|
||||||
/* Attract specific table tweaks */
|
/* Attract specific table tweaks */
|
||||||
.item-list
|
.item-list
|
||||||
overflow-x: scroll
|
overflow-x: auto
|
||||||
.table
|
.table
|
||||||
background-color: white
|
background-color: white
|
||||||
.table-row:hover
|
.table-row:hover
|
||||||
|
Reference in New Issue
Block a user