From 3bf031b6f57b0ed8b74541e4420084c99b1ec82b Mon Sep 17 00:00:00 2001 From: Alex <40072887+alexdcrane@users.noreply.github.com> Date: Wed, 1 Oct 2025 09:25:04 -0700 Subject: [PATCH] Dashboard: Adjust icon widget clickable area (#7536) * Dashboard: Adjust icon widget clickable area * Update domains.php * Update registrations.php --- app/registrations/resources/dashboard/registrations.php | 2 +- core/dashboard/resources/dashboard/icon.php | 4 ++-- core/domains/resources/dashboard/domains.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/registrations/resources/dashboard/registrations.php b/app/registrations/resources/dashboard/registrations.php index 4ec7cbff22..5742e7749e 100644 --- a/app/registrations/resources/dashboard/registrations.php +++ b/app/registrations/resources/dashboard/registrations.php @@ -52,7 +52,7 @@ //dashboard icon echo "
\n"; echo "
\n"; - echo " ".escape($widget_label).""; + echo " ".escape($widget_label).""; echo "
\n"; echo " \n"; echo " ".$active_registrations." / ".($active_registrations + $inactive_registrations)."\n"; diff --git a/core/dashboard/resources/dashboard/icon.php b/core/dashboard/resources/dashboard/icon.php index e99046c9ec..6a0c845a5d 100644 --- a/core/dashboard/resources/dashboard/icon.php +++ b/core/dashboard/resources/dashboard/icon.php @@ -23,12 +23,12 @@ //dashboard icon echo "
\n"; - echo "
\n"; + echo "
\n"; echo " ".escape($widget_label)."\n"; echo " \n"; echo "
\n"; - if (empty($widget_details_state) || $widget_details_state != "disabled") { + if (!empty($widget_details_state) && $widget_details_state != "disabled") { echo "
".str_replace("\r", '
', escape($widget_content_details))."
\n"; } echo " "; diff --git a/core/domains/resources/dashboard/domains.php b/core/domains/resources/dashboard/domains.php index abab153fed..259040b868 100644 --- a/core/domains/resources/dashboard/domains.php +++ b/core/domains/resources/dashboard/domains.php @@ -34,7 +34,7 @@ //dashboard icon echo "
\n"; echo "
\n"; - echo " ".escape($widget_label).""; + echo " ".escape($widget_label).""; echo "
\n"; echo " \n"; echo " ".$domain_count."\n";