ui: node status: fix font-awesome icon size

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-07-12 06:56:09 +02:00
parent 7a39b41c20
commit 7d3482f5bf
2 changed files with 10 additions and 4 deletions

View File

@ -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;

View File

@ -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'),