ui: tfa: remove fixed labelwidth

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-04-05 12:26:22 +02:00
parent 0509c444e9
commit 9390af7b1e

View File

@ -321,7 +321,6 @@ Ext.define('PVE.window.TFAEdit', {
border: false, border: false,
reference: 'totp_form', reference: 'totp_form',
fieldDefaults: { fieldDefaults: {
labelWidth: 120,
anchor: '100%', anchor: '100%',
padding: '0 5' padding: '0 5'
}, },
@ -329,7 +328,7 @@ Ext.define('PVE.window.TFAEdit', {
{ {
layout: 'hbox', layout: 'hbox',
border: false, border: false,
padding: '5 0', padding: '0 0 5 0',
items: [{ items: [{
xtype: 'textfield', xtype: 'textfield',
fieldLabel: gettext('Secret'), fieldLabel: gettext('Secret'),
@ -403,7 +402,6 @@ Ext.define('PVE.window.TFAEdit', {
{ {
xtype: 'textfield', xtype: 'textfield',
fieldLabel: gettext('Verification Code'), fieldLabel: gettext('Verification Code'),
labelWidth: 120,
allowBlank: false, allowBlank: false,
reference: 'challenge', reference: 'challenge',
padding: '0 5', padding: '0 5',