[pve-devel] [PATCH manager] fix login window on chrome

Dominik Csapak d.csapak at proxmox.com
Fri Sep 6 14:28:20 CEST 2019


labelWidth: 'auto' is not valid since extjs simply
adds 'px' and sets it as width which would result in:

width: 'autopx';

which is not valid css. chrome/chromium had a change such that this now
produces the wrong height in the login bottom 'button bar'

250 should be enough for all translations and we do not have
any other element there

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/window/LoginWindow.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager6/window/LoginWindow.js b/www/manager6/window/LoginWindow.js
index 526da198..cdf157b3 100644
--- a/www/manager6/window/LoginWindow.js
+++ b/www/manager6/window/LoginWindow.js
@@ -253,7 +253,7 @@ Ext.define('PVE.window.LoginWindow', {
 		name: 'saveusername',
 		reference: 'saveunField',
 		stateId: 'login-saveusername',
-		labelWidth: 'auto',
+		labelWidth: 250,
 		labelAlign: 'right',
 		submitValue: false
 	    },
-- 
2.20.1





More information about the pve-devel mailing list