aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/BaseDialog.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/BaseDialog.js')
-rw-r--r--web/app/view/BaseDialog.js6
1 files changed, 4 insertions, 2 deletions
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
});