From d5818964fee18b4059302667a7c1d7cbc3a2539c Mon Sep 17 00:00:00 2001 From: Maciej Bodek Date: Thu, 12 Oct 2023 17:44:36 +0200 Subject: [PATCH] fix: unread items icon tick --- packages/web-console/src/components/UnreadItemsIcon/index.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/web-console/src/components/UnreadItemsIcon/index.tsx b/packages/web-console/src/components/UnreadItemsIcon/index.tsx index eb39c1c46..dce10974a 100644 --- a/packages/web-console/src/components/UnreadItemsIcon/index.tsx +++ b/packages/web-console/src/components/UnreadItemsIcon/index.tsx @@ -7,7 +7,6 @@ const Root = styled.span` const Tick = styled.span` position: absolute; - z-index: 1; right: 0; top: 0; width: 1.5rem; @@ -36,9 +35,9 @@ type Props = { export const UnreadItemsIcon = ({ icon, label, tick, count }: Props) => ( - {tick && } {typeof count === "number" && count > 0 && {count}} {icon} + {tick && } {label && {label}} )