From e864ed7795d80fe46c62bafbbb52f9b0e129d7a6 Mon Sep 17 00:00:00 2001 From: Tony Murray Date: Mon, 31 Oct 2022 21:01:35 -0500 Subject: [PATCH] Fix graph font sizes (#14550) flipped big and small --- LibreNMS/Data/Graphing/GraphParameters.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LibreNMS/Data/Graphing/GraphParameters.php b/LibreNMS/Data/Graphing/GraphParameters.php index 9a3e620e16..20f352d428 100644 --- a/LibreNMS/Data/Graphing/GraphParameters.php +++ b/LibreNMS/Data/Graphing/GraphParameters.php @@ -85,7 +85,7 @@ class GraphParameters $this->font = Config::get('mono_font'); $this->font_color = Clean::alphaDash($vars['font']); - $this->font_size = $this->width <= self::MEDIUM_SMALL ? 8 : 7; + $this->font_size = $this->width <= self::MEDIUM_SMALL ? 7 : 8; $this->canvas = Clean::alphaDash($vars['bg'] ?? ''); $this->background = Clean::alphaDash($vars['bbg'] ?? '');