]> git.proxmox.com Git - pmg-gui.git/commitdiff
spam info grid: use 1:2 flex ratio between rule name and description
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 7 Nov 2022 08:42:42 +0000 (09:42 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 7 Nov 2022 08:46:31 +0000 (09:46 +0100)
The rule names ain't _that_ long and it looks a bit better if name
and value are closer together

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
js/SpamInfoGrid.js

index 6bcf2af3dda786b1b320433da803a256861a14e7..a806ea30578d9479d521a7f45d4428829d624cf3 100644 (file)
@@ -34,7 +34,7 @@ Ext.define('PMG.grid.SpamInfoGrid', {
        {
            text: gettext('Test Name'),
            dataIndex: 'name',
-           flex: 2,
+           flex: 1,
            summaryType: 'count',
            summaryRenderer: _v => gettext('Spamscore'),
            tdCls: 'txt-monospace',
@@ -68,7 +68,7 @@ Ext.define('PMG.grid.SpamInfoGrid', {
        {
            text: gettext('Description'),
            dataIndex: 'desc',
-           flex: 3,
+           flex: 2,
        },
     ],
 });