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