Notification Settings UI Improvements

This commit is contained in:
headlesdev
2025-05-26 15:34:38 +02:00
parent 22c7ce29e3
commit 90644d8a5f
2 changed files with 213 additions and 83 deletions

View File

@@ -202,7 +202,7 @@ export const NotificationSettings = ({ onError, onSuccess }: NotificationSetting
<p className="text-sm opacity-70">Monitor server resources and performance</p>
</div>
<span
className={`px-3 py-1 rounded-full text-xs font-medium ${
className={`px-3 py-1 rounded-full text-xs font-medium w-20 text-center ${
serverSettings?.enabled ? "bg-success text-white" : "bg-error text-white"
}`}
>
@@ -419,7 +419,7 @@ export const NotificationSettings = ({ onError, onSuccess }: NotificationSetting
<p className="text-sm opacity-70">Configure application monitoring notifications</p>
</div>
<span
className={`px-3 py-1 rounded-full text-xs font-medium ${
className={`px-3 py-1 rounded-full text-xs font-medium w-20 text-center ${
applicationsSettings?.enabled ? "bg-success text-white" : "bg-error text-white"
}`}
>