mirror of https://github.com/mikaku/Monitorix.git
fixed excessive graph bottom padding
This commit is contained in:
parent
828ce9501d
commit
9faecd7b6c
|
@ -633,8 +633,8 @@ sub fs_cgi {
|
|||
undef(@tmpz);
|
||||
push(@tmp, "COMMENT: \\n");
|
||||
for($n2 = 0, $n = 0; $n < 8; $n++) {
|
||||
$f[$n] = trim($f[$n]);
|
||||
if($f[$n]) {
|
||||
$f[$n] = trim($f[$n]);
|
||||
my $color;
|
||||
|
||||
$str = $fs->{desc}->{$f[$n]} || $f[$n];
|
||||
|
@ -750,9 +750,9 @@ sub fs_cgi {
|
|||
undef(@tmp);
|
||||
undef(@tmpz);
|
||||
for($n2 = 0, $n = 0; $n < 8; $n += 2) {
|
||||
$f[$n] = trim($f[$n]);
|
||||
my $color;
|
||||
if($f[$n]) {
|
||||
$f[$n] = trim($f[$n]);
|
||||
$str = $fs->{desc}->{$f[$n]} || $f[$n];
|
||||
if(trim($f[$n]) eq "/") {
|
||||
$color = "#EE4444";
|
||||
|
|
Loading…
Reference in New Issue