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:
parent
b168a27f73
commit
646221cc29
@ -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'),
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
@ -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'),
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user