Added custom scroll bars and separated the table header from the tables for Sales and the Graphs tables.

This commit is contained in:
Wynne Crisman
2017-10-08 08:56:15 -07:00
parent 210517a5c2
commit b5ac9fd249
44 changed files with 4939 additions and 245 deletions

View File

@@ -0,0 +1,7 @@
var scrollBarWidth = getScrollBarWidth();
function getScrollBarWidth() {
let $outer = $('<div>').css({visibility: 'hidden', width: 100, overflow: 'scroll'}).appendTo('body'),
widthWithScroll = $('<div>').css({width: '100%'}).appendTo($outer).outerWidth();
$outer.remove();
return 100 - widthWithScroll;
}