From 08793925ae34137037320c73d32a5b6113c21b04 Mon Sep 17 00:00:00 2001 From: Huck <12265772+hucknz@users.noreply.github.com> Date: Tue, 3 Mar 2026 21:36:56 +0000 Subject: [PATCH] Fix header margin & change error message wording --- styles/Header.module.css | 2 +- worker/src/util.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/styles/Header.module.css b/styles/Header.module.css index 45257cd..d48590c 100644 --- a/styles/Header.module.css +++ b/styles/Header.module.css @@ -1,6 +1,6 @@ .header { height: rem(56px); - margin-bottom: rem(100px); + margin-bottom: auto; background-color: var(--mantine-color-body); border-bottom: rem(1px) solid light-dark(var(--mantine-color-gray-3), var(--mantine-color-dark-4)); } diff --git a/worker/src/util.ts b/worker/src/util.ts index 6fbd54b..8a723c0 100644 --- a/worker/src/util.ts +++ b/worker/src/util.ts @@ -55,13 +55,13 @@ function formatStatusChangeNotification( } else if (timeNow == timeIncidentStart) { return `🔴 ${ monitor.name - } is currently down. \nService is unavailable at ${timeNowFormatted}. \nIssue: ${ + } is down. \nService became unavailable at ${timeNowFormatted}. \nIssue: ${ reason || 'unspecified' }` } else { return `🔴 ${ monitor.name - } is still down. \nService is unavailable since ${timeIncidentStartFormatted} (${downtimeDuration} minutes). \nIssue: ${ + } is down. \nService unavailable since ${timeIncidentStartFormatted} (${downtimeDuration} minutes). \nIssue: ${ reason || 'unspecified' }` }