]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: form: listfield: add 5px padding between grid and 'Add' button
authorLukas Wagner <l.wagner@proxmox.com>
Thu, 27 Jul 2023 12:47:09 +0000 (14:47 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 2 Aug 2023 07:57:10 +0000 (09:57 +0200)
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@proxmox.com>
www/manager6/form/ListField.js

index 61e37f7e5f4dc567d4959f049236b9dab96d3508..0d0a4f6e088330034c9c7b096eceb63e687a545e 100644 (file)
@@ -144,6 +144,7 @@ Ext.define('PVE.form.ListField', {
            text: gettext('Add'),
            iconCls: 'fa fa-plus-circle',
            handler: 'addLine',
+           margin: '5 0 0 0',
        },
     ],