[pbs-devel] [PATCH proxmox-backup 6/6] ui: window/{AddWebauthn, TfaEdit}: fix spacing/border of the windows

Dominik Csapak d.csapak at proxmox.com
Wed Jan 13 12:06:54 CET 2021


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 at proxmox.com>
---
 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'),
 	},
     ],
-- 
2.20.1






More information about the pbs-devel mailing list