aboutsummaryrefslogtreecommitdiff
path: root/web/app/view
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-11-05 00:20:26 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-11-05 00:20:26 +1300
commita6dc2ad67d4c799e024d25bbc69fddfe9d84a07f (patch)
treeab1b2910d2a564a2015f8cc3664de6dc843a1f78 /web/app/view
parent166237d0c15ea228105afa65958d8a2889aab05b (diff)
downloadetbsa-traccar-web-a6dc2ad67d4c799e024d25bbc69fddfe9d84a07f.tar.gz
etbsa-traccar-web-a6dc2ad67d4c799e024d25bbc69fddfe9d84a07f.tar.bz2
etbsa-traccar-web-a6dc2ad67d4c799e024d25bbc69fddfe9d84a07f.zip
Make dialogs scrollable if too big
Diffstat (limited to 'web/app/view')
-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 05ffbbe..8d83224 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
});