diff --git a/client/src/components/Layout/InAppNotificationBell.test.tsx b/client/src/components/Layout/InAppNotificationBell.test.tsx
index b9fe381d7..f9eacd905 100644
--- a/client/src/components/Layout/InAppNotificationBell.test.tsx
+++ b/client/src/components/Layout/InAppNotificationBell.test.tsx
@@ -1,4 +1,4 @@
-// FE-COMP-BELL-001 to FE-COMP-BELL-020
+// FE-COMP-BELL-001 to FE-COMP-BELL-021
import { render, screen, waitFor } from '../../../tests/helpers/render';
import userEvent from '@testing-library/user-event';
import { vi } from 'vitest';
@@ -238,4 +238,13 @@ describe('InAppNotificationBell', () => {
// fetchNotifications should be called once per open (2 total)
expect(fetchNotifications).toHaveBeenCalledTimes(2);
});
+
+ it('FE-COMP-BELL-021: unread badge is large enough that the count is not squeezed', () => {
+ seedStore(useInAppNotificationStore, { notifications: [], unreadCount: 150, isLoading: false });
+ render();
+ const badge = screen.getByTestId('notification-badge');
+ expect(badge).toHaveTextContent('99+');
+ expect(badge.style.height).toBe('20px');
+ expect(badge.style.minWidth).toBe('20px');
+ });
});
diff --git a/client/src/components/Layout/InAppNotificationBell.tsx b/client/src/components/Layout/InAppNotificationBell.tsx
index bc9595b54..ce1572acd 100644
--- a/client/src/components/Layout/InAppNotificationBell.tsx
+++ b/client/src/components/Layout/InAppNotificationBell.tsx
@@ -52,12 +52,13 @@ export default function InAppNotificationBell(): React.ReactElement {
{unreadCount > 0 && (