ui: window/{AddWebauthn, TfaEdit}: fix spacing/border of the windows

the password field should not be indented differently than the rest of
the fields, and we never have a border on the panels

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2021-01-13 12:06:54 +01:00 committed by Thomas Lamprecht
parent b168a27f73
commit 646221cc29
2 changed files with 1 additions and 2 deletions

View File

@ -135,6 +135,7 @@ Ext.define('PBS.window.AddWebauthn', {
xtype: 'form', xtype: 'form',
reference: 'webauthn_form', reference: 'webauthn_form',
layout: 'anchor', layout: 'anchor',
border: false,
bodyPadding: 10, bodyPadding: 10,
fieldDefaults: { fieldDefaults: {
anchor: '100%', anchor: '100%',
@ -171,7 +172,6 @@ Ext.define('PBS.window.AddWebauthn', {
name: 'password', name: 'password',
allowBlank: false, allowBlank: false,
validateBlank: true, validateBlank: true,
padding: '0 0 5 5',
emptyText: gettext('verify current password'), emptyText: gettext('verify current password'),
}, },
], ],

View File

@ -75,7 +75,6 @@ Ext.define('PBS.window.TfaEdit', {
name: 'password', name: 'password',
allowBlank: false, allowBlank: false,
validateBlank: true, validateBlank: true,
padding: '0 0 5 5',
emptyText: gettext('verify current password'), emptyText: gettext('verify current password'),
}, },
], ],