Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Collapse disabled-state body padding on Alert Schedule cards

rcourtman0070369ea773
diff --git a/frontend-modern/src/features/alerts/AlertCooldownSection.tsx b/frontend-modern/src/features/alerts/AlertCooldownSection.tsx
index 8a9d2f1c57..cab1b86672 100644
--- a/frontend-modern/src/features/alerts/AlertCooldownSection.tsx
+++ b/frontend-modern/src/features/alerts/AlertCooldownSection.tsx
@@ -47,6 +47,7 @@ export function AlertCooldownSection(props: AlertCooldownSectionProps) {
/>
}
class="space-y-4"
+ noPadding={!props.cooldown.enabled}
>
<Show when={props.cooldown.enabled}>
<div class="space-y-4">
diff --git a/frontend-modern/src/features/alerts/AlertEscalationSection.tsx b/frontend-modern/src/features/alerts/AlertEscalationSection.tsx
index 83bd7fc189..d356f341ae 100644
--- a/frontend-modern/src/features/alerts/AlertEscalationSection.tsx
+++ b/frontend-modern/src/features/alerts/AlertEscalationSection.tsx
@@ -46,6 +46,7 @@ export function AlertEscalationSection(props: AlertEscalationSectionProps) {
/>
}
class="space-y-4"
+ noPadding={!props.escalation.enabled}
>
<Show when={props.escalation.enabled}>
<div class="space-y-3">
diff --git a/frontend-modern/src/features/alerts/AlertGroupingSection.tsx b/frontend-modern/src/features/alerts/AlertGroupingSection.tsx
index 0aef0697e9..0250e86c2e 100644
--- a/frontend-modern/src/features/alerts/AlertGroupingSection.tsx
+++ b/frontend-modern/src/features/alerts/AlertGroupingSection.tsx
@@ -50,6 +50,7 @@ export function AlertGroupingSection(props: AlertGroupingSectionProps) {
/>
}
class="space-y-4"
+ noPadding={!props.grouping.enabled}
>
<Show when={props.grouping.enabled}>
<div class="space-y-4">
diff --git a/frontend-modern/src/features/alerts/AlertQuietHoursSection.tsx b/frontend-modern/src/features/alerts/AlertQuietHoursSection.tsx
index 2aeedf9135..42abd45bb3 100644
--- a/frontend-modern/src/features/alerts/AlertQuietHoursSection.tsx
+++ b/frontend-modern/src/features/alerts/AlertQuietHoursSection.tsx
@@ -57,6 +57,7 @@ export function AlertQuietHoursSection(props: AlertQuietHoursSectionProps) {
/>
}
class="space-y-4"
+ noPadding={!props.quietHours.enabled}
>
<Show when={props.quietHours.enabled}>
<div class="space-y-4">