mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
Revert "Make minimum height configurable"
This reverts commit 292fe5901b.
This commit is contained in:
@@ -108,7 +108,7 @@ else {
|
||||
echo('</tr></table>');
|
||||
|
||||
$graph_array = $vars;
|
||||
$graph_array['height'] = $config['min_graph_height'];
|
||||
$graph_array['height'] = "300";
|
||||
$graph_array['width'] = $graph_width;
|
||||
|
||||
if($_SESSION['screen_width']) {
|
||||
@@ -125,7 +125,7 @@ else {
|
||||
$graph_array['height'] = ($_SESSION['screen_height'] - ($_SESSION['screen_height']/2));
|
||||
}
|
||||
else {
|
||||
$graph_array['height'] = max($graph_array['height'],($_SESSION['screen_height'] - ($_SESSION['screen_height']/1.5)));
|
||||
$graph_array['height'] = ($_SESSION['screen_height'] - ($_SESSION['screen_height']/1.5));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user