From a609febbea838fd04d667f600c4a51dde785d506 Mon Sep 17 00:00:00 2001 From: ahmadshaheer Date: Wed, 4 Sep 2024 17:38:46 +0430 Subject: [PATCH 1/3] fix: add divider before delete button --- .../AlertDetails/AlertHeader/ActionButtons/ActionButtons.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/pages/AlertDetails/AlertHeader/ActionButtons/ActionButtons.tsx b/frontend/src/pages/AlertDetails/AlertHeader/ActionButtons/ActionButtons.tsx index 183b4d2aaa..186a34676b 100644 --- a/frontend/src/pages/AlertDetails/AlertHeader/ActionButtons/ActionButtons.tsx +++ b/frontend/src/pages/AlertDetails/AlertHeader/ActionButtons/ActionButtons.tsx @@ -63,6 +63,7 @@ function AlertActionButtons({ onClick: (): void => handleAlertDuplicate(), style: menuItemStyle, }, + { type: 'divider' }, { key: 'delete-rule', label: 'Delete', From 063a3035d756bcee1118d0dc245fdf1c9a6eb4b7 Mon Sep 17 00:00:00 2001 From: ahmadshaheer Date: Wed, 4 Sep 2024 17:41:14 +0430 Subject: [PATCH 2/3] fix: timeline section title color in lightmode --- .../container/AlertHistory/Timeline/Timeline.styles.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/frontend/src/container/AlertHistory/Timeline/Timeline.styles.scss b/frontend/src/container/AlertHistory/Timeline/Timeline.styles.scss index df5875403c..1d6b4d7990 100644 --- a/frontend/src/container/AlertHistory/Timeline/Timeline.styles.scss +++ b/frontend/src/container/AlertHistory/Timeline/Timeline.styles.scss @@ -12,3 +12,11 @@ letter-spacing: -0.07px; } } + +.lightMode { + .timeline { + &__title { + color: var(--text-ink-400); + } + } +} From f90bd8733fdd7eab2de8c0c3d6e07253a0f089f3 Mon Sep 17 00:00:00 2001 From: ahmadshaheer Date: Wed, 4 Sep 2024 17:49:28 +0430 Subject: [PATCH 3/3] fix: remove the extra border from alert history tabs --- frontend/src/pages/AlertDetails/AlertDetails.styles.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/AlertDetails/AlertDetails.styles.scss b/frontend/src/pages/AlertDetails/AlertDetails.styles.scss index 10e8e573cf..62eeb96ae0 100644 --- a/frontend/src/pages/AlertDetails/AlertDetails.styles.scss +++ b/frontend/src/pages/AlertDetails/AlertDetails.styles.scss @@ -171,7 +171,7 @@ .ant-tabs { &-nav { &::before { - border-bottom: 1px solid var(--bg-vanilla-300) !important; + border: none !important; } } &-tab {