feat: enhance image components with draggable attribute and context menu handling
This commit is contained in:
@@ -119,10 +119,16 @@ export function DirectTab() {
|
||||
</SidebarAvatar>
|
||||
)}
|
||||
</SidebarItemTooltip>
|
||||
{directUnread && (
|
||||
<SidebarItemBadge hasCount={directUnread.total > 0}>
|
||||
{directUnread && directUnread.total > 0 && (
|
||||
<div style={{
|
||||
position: 'absolute',
|
||||
bottom: '2px',
|
||||
right: '2px',
|
||||
pointerEvents: 'none',
|
||||
zIndex: 2,
|
||||
}}>
|
||||
<UnreadBadge highlight={directUnread.highlight > 0} count={directUnread.total} />
|
||||
</SidebarItemBadge>
|
||||
</div>
|
||||
)}
|
||||
{menuAnchor && (
|
||||
<PopOut
|
||||
|
||||
Reference in New Issue
Block a user