From 93fb6158410523bec6584a0fc29a72442d95ebb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20G=C3=B3is?= Date: Mon, 23 Oct 2023 12:01:50 +0100 Subject: [PATCH] fix: draft banner zIndex (#5124) Tiny zIndex fix for the draft banner for a regression introduced in https://github.com/Unleash/unleash/pull/5088 ### Before - Draft banner is displayed on top of the profile popup: ![image](https://github.com/Unleash/unleash/assets/14320932/63865f01-9bbe-42f1-9cc4-85c3c985334c) ### After - Profile popup displays on top of the draft banner: ![image](https://github.com/Unleash/unleash/assets/14320932/565e1017-5163-445d-bc0c-ee957023241b) --- .../src/component/layout/MainLayout/DraftBanner/DraftBanner.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/component/layout/MainLayout/DraftBanner/DraftBanner.tsx b/frontend/src/component/layout/MainLayout/DraftBanner/DraftBanner.tsx index 1ef42e91301b..77d2ff6d2585 100644 --- a/frontend/src/component/layout/MainLayout/DraftBanner/DraftBanner.tsx +++ b/frontend/src/component/layout/MainLayout/DraftBanner/DraftBanner.tsx @@ -104,6 +104,7 @@ const StickyBanner = styled(Sticky)(({ theme }) => ({ borderBottom: `1px solid ${theme.palette.warning.border}`, color: theme.palette.warning.contrastText, backgroundColor: theme.palette.warning.light, + zIndex: 250, })); export const DraftBanner: VFC = ({ project }) => {