diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-05 00:20:26 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-11-05 00:20:26 +1300 |
commit | a6dc2ad67d4c799e024d25bbc69fddfe9d84a07f (patch) | |
tree | ab1b2910d2a564a2015f8cc3664de6dc843a1f78 /web/app/view | |
parent | 166237d0c15ea228105afa65958d8a2889aab05b (diff) | |
download | etbsa-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.js | 6 |
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 }); |