forked from github/plane
[WEB-1117] chore: add tool tip for Snooze under Notification Panel. (#4377)
This commit is contained in:
parent
780b239ecb
commit
a46eccf300
@ -23,7 +23,6 @@ import { replaceUnderscoreIfSnakeCase, truncateText, stripAndTruncateHTML } from
|
||||
import { useEventTracker } from "@/hooks/store";
|
||||
import { usePlatformOS } from "@/hooks/use-platform-os";
|
||||
|
||||
|
||||
type NotificationCardProps = {
|
||||
selectedTab: NotificationType;
|
||||
notification: IUserNotification;
|
||||
@ -381,13 +380,14 @@ export const NotificationCard: React.FC<NotificationCardProps> = (props) => {
|
||||
</button>
|
||||
</Tooltip>
|
||||
))}
|
||||
<Tooltip tooltipContent="Snooze" isMobile={isMobile}>
|
||||
<CustomMenu
|
||||
className="flex items-center"
|
||||
customButton={
|
||||
<Tooltip tooltipContent="Snooze" isMobile={isMobile}>
|
||||
<div className="flex w-full items-center gap-x-2 rounded bg-custom-background-80 p-0.5 text-sm hover:bg-custom-background-100">
|
||||
<Clock className="h-3.5 w-3.5 text-custom-text-300" />
|
||||
</div>
|
||||
</Tooltip>
|
||||
}
|
||||
optionsClassName="!z-20"
|
||||
>
|
||||
@ -420,7 +420,6 @@ export const NotificationCard: React.FC<NotificationCardProps> = (props) => {
|
||||
</CustomMenu.MenuItem>
|
||||
))}
|
||||
</CustomMenu>
|
||||
</Tooltip>
|
||||
</div>
|
||||
</Link>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user