diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/app/Style.js | 2 | ||||
-rw-r--r-- | web/app/view/BaseDialog.js | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/web/app/Style.js b/web/app/Style.js index a215136c..b4201bbd 100644 --- a/web/app/Style.js +++ b/web/app/Style.js @@ -18,7 +18,7 @@ Ext.define('Traccar.Style', { singleton: true, - panelPadding: 10, + normalPadding: 10, windowWidth: 640, windowHeight: 480, diff --git a/web/app/view/BaseDialog.js b/web/app/view/BaseDialog.js index 05ffbbee..8d832245 100644 --- a/web/app/view/BaseDialog.js +++ b/web/app/view/BaseDialog.js @@ -18,7 +18,9 @@ Ext.define('Traccar.view.BaseDialog', { extend: 'Ext.window.Window', - bodyPadding: Traccar.Style.panelPadding, + bodyPadding: Traccar.Style.normalPadding, resizable: false, - modal: true + modal: true, + maxHeight: screen.height ? screen.height - Traccar.Style.normalPadding * 2 : null, + autoScroll: true }); |