mirror of
https://github.com/docmost/docmost.git
synced 2026-05-13 02:34:05 +08:00
fix: notification items are now real links (#2039)
Replace UnstyledButton with UnstyledButton component={Link} so each
notification renders as a real anchor element. Regular left-clicks use
SPA navigation and close the popover; Ctrl/Cmd/middle-click open the
page in a new tab. All click types mark the notification as read.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
.notificationItem {
|
||||
display: block;
|
||||
padding: 8px 12px;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
|
||||
Reference in New Issue
Block a user