Dashboard: Resolve chart padding and label issue.

This commit is contained in:
fusionate
2024-09-03 10:50:45 -06:00
parent 452ddc9539
commit 0f06ded327
2 changed files with 19 additions and 13 deletions
+8 -2
View File
@@ -325,6 +325,9 @@ foreach ($dashboard as $row) {
echo "#".$dashboard_name." .hud_content {\n";
echo " align-content: center;\n";
echo "}\n";
echo "#".$dashboard_name." .hud_chart {\n";
echo " padding-top: 0;\n";
echo "}\n";
}
if ($row['dashboard_path'] == "dashboard/icon") {
echo "#".$dashboard_name." div.hud_content,\n";
@@ -362,6 +365,10 @@ foreach ($dashboard as $row) {
echo " height: 300.5px;\n";
echo "}\n";
break;
default: //if empty
echo "#".$dashboard_name." .hud_content {\n";
echo " height: 195px;\n";
echo "}\n";
}
}
@@ -661,5 +668,4 @@ function toggle_grid_row_end_all() {
//show the footer
require_once "resources/footer.php";
?>
?>