diff --git a/commafeed-client/src/components/sidebar/UnreadCount.tsx b/commafeed-client/src/components/sidebar/UnreadCount.tsx index c138dae0..3be03b98 100644 --- a/commafeed-client/src/components/sidebar/UnreadCount.tsx +++ b/commafeed-client/src/components/sidebar/UnreadCount.tsx @@ -8,6 +8,10 @@ const useStyles = tss.create(() => ({ // for some reason, mantine Badge has "cursor: 'default'" cursor: "inherit", }, + indicator: { + // ensure the indicator is not shown above the app header + zIndex: 0, + }, })) export function UnreadCount( @@ -23,7 +27,15 @@ export function UnreadCount( const count = props.unreadCount >= 10000 ? "10k+" : props.unreadCount return ( - + {count}