From cb18829742348c483df9e98d5de9db66115a5299 Mon Sep 17 00:00:00 2001 From: Martin Hradil Date: Tue, 27 Jun 2023 19:56:18 +0000 Subject: [PATCH] c.r.c. move alert list so it's not covered by breadcrumbs Issue: AAH-2432 --- CHANGES/2432.bug | 1 + src/components/patternfly-wrappers/alert-list.tsx | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 CHANGES/2432.bug diff --git a/CHANGES/2432.bug b/CHANGES/2432.bug new file mode 100644 index 0000000000..a45815a58f --- /dev/null +++ b/CHANGES/2432.bug @@ -0,0 +1 @@ +c.r.c. move alert list so it's not covered by breadcrumbs diff --git a/src/components/patternfly-wrappers/alert-list.tsx b/src/components/patternfly-wrappers/alert-list.tsx index 6eea2fd8ba..01e335fafd 100644 --- a/src/components/patternfly-wrappers/alert-list.tsx +++ b/src/components/patternfly-wrappers/alert-list.tsx @@ -4,6 +4,7 @@ import { AlertProps, } from '@patternfly/react-core'; import React from 'react'; +import { Constants } from 'src/constants'; interface IProps { /** List of alerts to display */ @@ -25,7 +26,10 @@ export const AlertList = ({ alerts, closeAlert }: IProps) => ( style={{ position: 'fixed', right: '5px', - top: '80px', + top: + DEPLOYMENT_MODE === Constants.INSIGHTS_DEPLOYMENT_MODE + ? '124px' // 70 + 50 + 4 + : '80px', // 76 + 4 zIndex: 300, display: 'flex', flexDirection: 'column',