Dashboard: Widget counter pill style adjustments.

This commit is contained in:
fusionate
2024-09-16 18:22:28 -06:00
parent 4dd7336d32
commit cc08aa724d
5 changed files with 9 additions and 9 deletions

View File

@@ -149,7 +149,7 @@
echo "<span class='hud_content'>\n";
echo "<div style='position: relative; display: inline-block;'>\n";
echo " <span class='hud_stat'><i class=\"fas ".$dashboard_icon." \"></i></span>\n";
echo " <span style=\"background-color: #EA4C46; color: #ffffff; font-size: 12px; font-weight: bold; text-align: center; position: absolute; top: 23px; left: 24.5px; padding: 2px 7px; border-radius: 10px; white-space: nowrap;\">".$num_rows."</span>\n";
echo " <span style=\"background-color: #EA4C46; color: #ffffff; font-size: 12px; font-weight: bold; text-align: center; position: absolute; top: 23px; left: 24.5px; padding: 2px 7px 1px 7px; border-radius: 10px; white-space: nowrap;\">".$num_rows."</span>\n";
echo " </div>\n";
echo "</span>";
}
@@ -220,4 +220,4 @@
}
echo "</div>\n";
?>
?>

View File

@@ -147,7 +147,7 @@
echo "<div class='hud_content'>\n";
echo " <div style='position: relative; display: inline-block;'>\n";
echo " <span class='hud_stat'><i class=\"fas ".$dashboard_icon." \"></i></span>\n";
echo " <span style=\"background-color: #417ed3; color: #ffffff; font-size: 12px; font-weight: bold; text-align: center; position: absolute; top: 23px; left: 24.5px; padding: 2px 7px; border-radius: 10px; white-space: nowrap;\">".$num_rows."</span>\n";
echo " <span style=\"background-color: #417ed3; color: #ffffff; font-size: 12px; font-weight: bold; text-align: center; position: absolute; top: 23px; left: 24.5px; padding: 2px 7px 1px 7px; border-radius: 10px; white-space: nowrap;\">".$num_rows."</span>\n";
echo " </div>\n";
echo "</div>";
}
@@ -240,4 +240,4 @@
}
echo "</div>\n";
?>
?>