Skip to content

Commit 883e471

Browse files
committed
Show notification dismiss button on keyboard focus
1 parent 3e9abae commit 883e471

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/webapp/app/components/navigation/NotificationCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export function NotificationCard({
8787
<button
8888
type="button"
8989
onClick={handleDismiss}
90-
className="relative z-20 -mr-1 shrink-0 rounded p-0.5 text-text-dimmed opacity-0 transition group-hover/card:opacity-100 hover:bg-charcoal-700 hover:text-text-bright"
90+
className="relative z-20 -mr-1 shrink-0 rounded p-0.5 text-text-dimmed opacity-0 transition group-hover/card:opacity-100 hover:bg-charcoal-700 hover:text-text-bright focus-visible:opacity-100"
9191
>
9292
<XMarkIcon className="size-3.5" />
9393
</button>

0 commit comments

Comments
 (0)