aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/device
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/device')
-rw-r--r--web/app/view/device/DeviceController.js4
-rw-r--r--web/app/view/device/DeviceDialog.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/web/app/view/device/DeviceController.js b/web/app/view/device/DeviceController.js
index ae4abf4a7..e9cda9bbe 100644
--- a/web/app/view/device/DeviceController.js
+++ b/web/app/view/device/DeviceController.js
@@ -117,8 +117,8 @@ Ext.define('Traccar.view.device.DeviceController', {
onUsersClick: function() {
Ext.create('Ext.window.Window', {
title: strings.settingsUsers,
- width: styles.window_width,
- height: styles.window_height,
+ width: styles.windowWidth,
+ height: styles.windowHeight,
layout: 'fit',
modal: true,
items: {
diff --git a/web/app/view/device/DeviceDialog.js b/web/app/view/device/DeviceDialog.js
index b5f29782b..84a975c6a 100644
--- a/web/app/view/device/DeviceDialog.js
+++ b/web/app/view/device/DeviceDialog.js
@@ -24,7 +24,7 @@ Ext.define('Traccar.view.device.DeviceDialog', {
controller: 'devicedialog',
- bodyPadding: styles.panel_padding,
+ bodyPadding: styles.panelPadding,
title: strings.deviceDialog,
resizable: false,
modal: true,