From 251e89fe5a78cde64b044eb65f9ca11ee61c321d Mon Sep 17 00:00:00 2001 From: "Calum H." Date: Tue, 9 Dec 2025 09:14:59 +0000 Subject: [PATCH] fix: notice btns not matching colour of notice + gap issue (#4823) * feat: improve notices * fix: bottom gap for notices * fix: lint * fix: lint --- apps/frontend/src/pages/hosting/manage/[id].vue | 2 +- packages/ui/src/components/base/ServerNotice.vue | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/apps/frontend/src/pages/hosting/manage/[id].vue b/apps/frontend/src/pages/hosting/manage/[id].vue index 34b54309..af174464 100644 --- a/apps/frontend/src/pages/hosting/manage/[id].vue +++ b/apps/frontend/src/pages/hosting/manage/[id].vue @@ -1,7 +1,7 @@ @@ -91,6 +91,12 @@ const NOTICE_TYPE: Record = { critical: 'critical', } +const NOTICE_TYPE_BTN: Record = { + info: 'blue', + warn: 'orange', + critical: 'red', +} + const heading = computed(() => NOTICE_HEADINGS[props.level] ?? messages.info)