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; font-size: 14px;
} }
.pmx-icon-size {
height: 14px;
font-size: 14px;
}
/* displayfield minheight is wrong */ /* displayfield minheight is wrong */
.x-form-display-field-default { .x-form-display-field-default {
min-height: 20px; min-height: 20px;

View File

@ -115,7 +115,7 @@ Ext.define('PBS.NodeInfoPanel', {
}, },
{ {
itemId: 'wait', itemId: 'wait',
iconCls: 'fa fa-fw fa-clock-o', iconCls: 'pmx-icon-size fa fa-fw fa-clock-o',
title: gettext('IO delay'), title: gettext('IO delay'),
valueField: 'wait', valueField: 'wait',
}, },
@ -134,13 +134,13 @@ Ext.define('PBS.NodeInfoPanel', {
}, },
{ {
itemId: 'load', itemId: 'load',
iconCls: 'fa fa-fw fa-tasks', iconCls: 'pmx-icon-size fa fa-fw fa-tasks',
title: gettext('Load average'), title: gettext('Load average'),
printBar: false, printBar: false,
textField: 'loadavg', textField: 'loadavg',
}, },
{ {
iconCls: 'fa fa-fw fa-hdd-o', iconCls: 'pmx-icon-size fa fa-fw fa-hdd-o',
itemId: 'rootfs', itemId: 'rootfs',
title: gettext('HD space') + '(root)', title: gettext('HD space') + '(root)',
valueField: 'root', valueField: 'root',
@ -148,7 +148,7 @@ Ext.define('PBS.NodeInfoPanel', {
renderer: Proxmox.Utils.render_node_size_usage, renderer: Proxmox.Utils.render_node_size_usage,
}, },
{ {
iconCls: 'fa fa-fw fa-refresh', iconCls: 'pmx-icon-size fa fa-fw fa-refresh',
itemId: 'swap', itemId: 'swap',
printSize: true, printSize: true,
title: gettext('SWAP usage'), title: gettext('SWAP usage'),