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

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Sep 6 16:22:58 CEST 2019


On 06.09.19 14:28, Dominik Csapak wrote:
> 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
>  	    },
> 

applied, thanks!




More information about the pve-devel mailing list