mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Add more padding to accomodate row of graphs that have large y-axis text
Slightly reduced the height of rows of graphs
This commit is contained in:
@ -39,7 +39,7 @@ else {
|
||||
|
||||
if($_SESSION['screen_width']) {
|
||||
if($_SESSION['screen_width'] > 800) {
|
||||
$graph_array['width'] = ($_SESSION['screen_width'] - 400 )/count($periods)+1;
|
||||
$graph_array['width'] = ($_SESSION['screen_width'] - 430 )/count($periods)+1;
|
||||
}
|
||||
else {
|
||||
$graph_array['width'] = $_SESSION['screen_width'] - 155;
|
||||
@ -48,7 +48,7 @@ if($_SESSION['screen_width']) {
|
||||
|
||||
if($_SESSION['screen_height']) {
|
||||
if($_SESSION['screen_width'] > 960) {
|
||||
$graph_array['height'] = ($_SESSION['screen_height'] - 250)/4;
|
||||
$graph_array['height'] = ($_SESSION['screen_height'] - 250)/5;
|
||||
}
|
||||
else {
|
||||
$graph_array['height'] = ($_SESSION['screen_height'] - 250)/2;
|
||||
|
Reference in New Issue
Block a user