Browse Source

Dashboard: Widget counter pill style adjustments.

fusionate 1 year ago
parent
commit
bda72edd44
1 changed files with 2 additions and 2 deletions
  1. 2 2
      core/domains/resources/dashboard/domains.php

+ 2 - 2
core/domains/resources/dashboard/domains.php

@@ -37,7 +37,7 @@
 	echo "		<span class='hud_title' onclick=\"window.open('".$dashboard_url."', '".$dashboard_target."', '".$window_parameters."')\">".escape($dashboard_label)."</span>";
 	echo "		<div style='position: relative; display: inline-block;'>\n";
 	echo "			<span class='hud_stat' onclick=\"window.open('".$dashboard_url."', '".$dashboard_target."', '".$window_parameters."')\"><i class=\"fas ".$dashboard_icon."\"></i></span>\n";
-	echo "			<span style=\"background-color: #0292FF; color: #ffffff; font-size: 12px; font-weight: bold; text-align: center; position: absolute; top: 22px; left: 25px; padding: 3px 8px; border-radius: 50%;\">".$domain_count."</span>\n";
+	echo "			<span style=\"background-color: #0292FF; color: #ffffff; font-size: 12px; font-weight: bold; text-align: center; position: absolute; top: 22px; left: 25px; padding: 2px 7px 1px 7px; border-radius: 10px; white-space: nowrap;\">".$domain_count."</span>\n";
 	echo "		</div>\n";
 	echo "	</div>\n";
 	if (empty($dashboard_details_state) || $dashboard_details_state != "disabled") {
@@ -46,4 +46,4 @@
 	echo "	<span class='hud_expander' onclick=\"$('#hud_icon_details').slideToggle('fast');\"><span class='fas fa-ellipsis-h'></span></span>";
 	echo "</div>\n";
 
-?>
+?>