[pve-devel] [PATCH manager] ui: form: listfield: add 5px padding between grid and 'Add' button

Lukas Wagner l.wagner at proxmox.com
Thu Jul 27 14:47:09 CEST 2023


Before, there was zero space between the the grid border line and the
button, making it look a bit odd.

The ListField form component is currently used in the
'User Tag Access' and 'Registered Tags' dialog windows in datacenter
option view.

Signed-off-by: Lukas Wagner <l.wagner at proxmox.com>
---
 www/manager6/form/ListField.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/manager6/form/ListField.js b/www/manager6/form/ListField.js
index 61e37f7e..0d0a4f6e 100644
--- a/www/manager6/form/ListField.js
+++ b/www/manager6/form/ListField.js
@@ -144,6 +144,7 @@ Ext.define('PVE.form.ListField', {
 	    text: gettext('Add'),
 	    iconCls: 'fa fa-plus-circle',
 	    handler: 'addLine',
+	    margin: '5 0 0 0',
 	},
     ],
 
-- 
2.39.2






More information about the pve-devel mailing list