Fix notification button styles

This commit is contained in:
Kalle
2025-04-26 17:44:02 +03:00
parent 1ea776dfaf
commit 7011dcb370

View File

@@ -1,6 +1,7 @@
import { useLocation, useMatches, useRevalidator } from "@remix-run/react";
import clsx from "clsx";
import * as React from "react";
import { Button } from "react-aria-components";
import { useTranslation } from "react-i18next";
import {
NotificationItem,
@@ -47,11 +48,12 @@ export function NotificationPopover() {
{unseenIds.length > 0 ? <div className={styles.unseenDot} /> : null}
<SendouPopover
trigger={
<SendouButton
icon={<BellIcon />}
<Button
className="layout__header__button"
data-testid="notifications-button"
/>
>
<BellIcon />
</Button>
}
popoverClassName={clsx(styles.popoverContainer, {
[styles.noNotificationsContainer]: