From 6aa7717403047d08ca6a152c3e12a55c225d0f4b Mon Sep 17 00:00:00 2001 From: Simon Smith Date: Thu, 25 Mar 2021 19:30:35 +0000 Subject: [PATCH] fix progress-bar 0% (#12648) --- LibreNMS/Util/Html.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/LibreNMS/Util/Html.php b/LibreNMS/Util/Html.php index d04c93101d..f12e8b1fa1 100644 --- a/LibreNMS/Util/Html.php +++ b/LibreNMS/Util/Html.php @@ -147,15 +147,15 @@ class Html $right_color = $colors['right'] ?? $default['right']; $output = '
-
'; +
'; if ($shadow !== null) { $shadow = min($shadow, 100); $middle_color = $colors['middle'] ?? $default['middle']; - $output .= '
'; + $output .= '
'; } - $output .= '
+ $output .= '
' . $left_text . ' ' . $right_text . '