ui: tfa totp: whitespace and padding fix

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-01-18 10:10:16 +01:00
parent 6676409f7f
commit b2a43b987c

View File

@ -153,7 +153,8 @@ Ext.define('PBS.window.AddTotp', {
layout: 'hbox', layout: 'hbox',
border: false, border: false,
padding: '0 0 5 0', padding: '0 0 5 0',
items: [{ items: [
{
xtype: 'textfield', xtype: 'textfield',
fieldLabel: gettext('Secret'), fieldLabel: gettext('Secret'),
emptyText: gettext('Unchanged'), emptyText: gettext('Unchanged'),
@ -167,6 +168,7 @@ Ext.define('PBS.window.AddTotp', {
value: "{secret}", value: "{secret}",
}, },
flex: 4, flex: 4,
padding: '0 5 0 0',
}, },
{ {
xtype: 'button', xtype: 'button',
@ -174,7 +176,8 @@ Ext.define('PBS.window.AddTotp', {
reference: 'randomize_button', reference: 'randomize_button',
handler: 'randomizeSecret', handler: 'randomizeSecret',
flex: 1, flex: 1,
}], },
],
}, },
{ {
xtype: 'numberfield', xtype: 'numberfield',