From ca8b72dd1efe12ecd2f65e3ed459aabad26f7894 Mon Sep 17 00:00:00 2001 From: Tony Murray Date: Tue, 10 Jan 2017 04:07:10 -0600 Subject: [PATCH] fix: availability map icons (#5373) --- html/css/styles.css | 17 ++++++++++++++--- html/includes/device-header.inc.php | 2 +- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/html/css/styles.css b/html/css/styles.css index 4e4ed360d4..8c188b6938 100644 --- a/html/css/styles.css +++ b/html/css/styles.css @@ -1825,7 +1825,7 @@ label { max-width: 45px; max-height: 50px; } - .device-header-table .device_icon img { + .device-header-table .device-icon .device-icon-48h img { max-width: 20px; max-height: 20px; } @@ -2138,6 +2138,17 @@ label { width: 32px; } -.device_icon img { - height: 48px; +.device-icon img { + max-height: 32px; + max-width: 40px; +} + +.device-icon { + display: inline-block; + height: 32px; + width: 40px; +} + +.device-icon-48h img { + height: 48px; } diff --git a/html/includes/device-header.inc.php b/html/includes/device-header.inc.php index 69914934a7..9c59abb576 100644 --- a/html/includes/device-header.inc.php +++ b/html/includes/device-header.inc.php @@ -24,7 +24,7 @@ $host_id = dbFetchCell("SELECT `device_id` FROM `vminfo` WHERE `vmwVmDisplayName echo ' - '.$image.' + '.$image.' '; if ($host_id > 0) { echo '