From 7d3482f5bfba83305b47d23b5761993594519556 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 12 Jul 2021 06:56:09 +0200 Subject: [PATCH] ui: node status: fix font-awesome icon size Signed-off-by: Thomas Lamprecht --- www/css/ext6-pbs.css | 6 ++++++ www/panel/NodeInfo.js | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/www/css/ext6-pbs.css b/www/css/ext6-pbs.css index b9b89936..88095dd8 100644 --- a/www/css/ext6-pbs.css +++ b/www/css/ext6-pbs.css @@ -51,6 +51,12 @@ font-size: 14px; } +.pmx-icon-size { + height: 14px; + font-size: 14px; +} + + /* displayfield minheight is wrong */ .x-form-display-field-default { min-height: 20px; diff --git a/www/panel/NodeInfo.js b/www/panel/NodeInfo.js index 57a54da4..ff96e8fc 100644 --- a/www/panel/NodeInfo.js +++ b/www/panel/NodeInfo.js @@ -115,7 +115,7 @@ Ext.define('PBS.NodeInfoPanel', { }, { itemId: 'wait', - iconCls: 'fa fa-fw fa-clock-o', + iconCls: 'pmx-icon-size fa fa-fw fa-clock-o', title: gettext('IO delay'), valueField: 'wait', }, @@ -134,13 +134,13 @@ Ext.define('PBS.NodeInfoPanel', { }, { itemId: 'load', - iconCls: 'fa fa-fw fa-tasks', + iconCls: 'pmx-icon-size fa fa-fw fa-tasks', title: gettext('Load average'), printBar: false, textField: 'loadavg', }, { - iconCls: 'fa fa-fw fa-hdd-o', + iconCls: 'pmx-icon-size fa fa-fw fa-hdd-o', itemId: 'rootfs', title: gettext('HD space') + '(root)', valueField: 'root', @@ -148,7 +148,7 @@ Ext.define('PBS.NodeInfoPanel', { renderer: Proxmox.Utils.render_node_size_usage, }, { - iconCls: 'fa fa-fw fa-refresh', + iconCls: 'pmx-icon-size fa fa-fw fa-refresh', itemId: 'swap', printSize: true, title: gettext('SWAP usage'),