Dashboard: Resolve chart padding and label issue.
This commit is contained in:
@@ -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";
|
||||
|
||||
?>
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user