]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: node/status view: reduce quite generous paddings
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 4 Jul 2021 19:45:14 +0000 (21:45 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 4 Jul 2021 19:52:05 +0000 (21:52 +0200)
As both, the whole panels body and the actual items all had their own
padding it added up quite a bit.

Some padding is good to avoid elements being "glued" to the parent
borders, but that can be done with also with ~15 px vs. 30 px on each
side, so no need to waste that much extra space we can use in some
languages to render content

Added benefit, the status panel now is more in sync with the RRD
panels regarding content start/end.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/node/StatusView.js

index 7b1e2bed09d96476dd6aabc36ec2341df5fa1d98..ae34ac66dff6d1b03d37321f8613299bf9269605 100644 (file)
@@ -47,7 +47,7 @@ Ext.define('PVE.node.StatusView', {
     },
 
     height: 300,
-    bodyPadding: '20 15 20 15',
+    bodyPadding: '15 5 15 5',
 
     layout: {
        type: 'table',
@@ -61,7 +61,7 @@ Ext.define('PVE.node.StatusView', {
 
     defaults: {
        xtype: 'pmxInfoWidget',
-       padding: '0 15 5 15',
+       padding: '0 10 5 10',
     },
 
     items: [