From 646221cc29022d9327a088d46afb608639f0795c Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Wed, 13 Jan 2021 12:06:54 +0100 Subject: [PATCH] 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 --- www/window/AddWebauthn.js | 2 +- www/window/TfaEdit.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/www/window/AddWebauthn.js b/www/window/AddWebauthn.js index 7c5489e3..195a756d 100644 --- a/www/window/AddWebauthn.js +++ b/www/window/AddWebauthn.js @@ -135,6 +135,7 @@ Ext.define('PBS.window.AddWebauthn', { xtype: 'form', reference: 'webauthn_form', layout: 'anchor', + border: false, bodyPadding: 10, fieldDefaults: { anchor: '100%', @@ -171,7 +172,6 @@ Ext.define('PBS.window.AddWebauthn', { name: 'password', allowBlank: false, validateBlank: true, - padding: '0 0 5 5', emptyText: gettext('verify current password'), }, ], diff --git a/www/window/TfaEdit.js b/www/window/TfaEdit.js index 182da33b..abec1335 100644 --- a/www/window/TfaEdit.js +++ b/www/window/TfaEdit.js @@ -75,7 +75,6 @@ Ext.define('PBS.window.TfaEdit', { name: 'password', allowBlank: false, validateBlank: true, - padding: '0 0 5 5', emptyText: gettext('verify current password'), }, ],