From 5c510fc91927f5a06999713ab6f70aa21f0d3524 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Tue, 27 Dec 2016 12:02:34 +0500 Subject: Move grid top line to Style --- web/app/Style.js | 1 + web/app/view/Report.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/web/app/Style.js b/web/app/Style.js index c785e1c..9768b4b 100644 --- a/web/app/Style.js +++ b/web/app/Style.js @@ -79,6 +79,7 @@ Ext.define('Traccar.Style', { numberPrecision: 2, reportTagfieldWidth: 375, + reportGridStyle: 'borderTop: 1px solid lightgray', chartPadding: { top: 20, diff --git a/web/app/view/Report.js b/web/app/view/Report.js index 4a4c992..339761e 100644 --- a/web/app/view/Report.js +++ b/web/app/view/Report.js @@ -83,7 +83,7 @@ Ext.define('Traccar.view.Report', { items: [ ] }, - style: 'borderTop: 1px solid lightgray' + style: Traccar.Style.reportGridStyle }, { xtype: 'cartesian', itemId: 'chart', -- cgit v1.2.3