mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-01-23 09:57:32 +00:00
fix: hide session badge and icon on hover to show action buttons
Hide the message count badge and provider icon when hovering over a session, so they don't overlap with the edit/delete action buttons.
This commit is contained in:
@@ -1166,11 +1166,11 @@ function Sidebar({
|
||||
{formatTimeAgo(sessionTime, currentTime)}
|
||||
</span>
|
||||
{messageCount > 0 && (
|
||||
<Badge variant="secondary" className="text-xs px-1 py-0 ml-auto">
|
||||
<Badge variant="secondary" className="text-xs px-1 py-0 ml-auto group-hover:opacity-0 transition-opacity">
|
||||
{messageCount}
|
||||
</Badge>
|
||||
)}
|
||||
<span className="ml-1 opacity-70">
|
||||
<span className="ml-1 opacity-70 group-hover:opacity-0 transition-opacity">
|
||||
{isCursorSession ? (
|
||||
<CursorLogo className="w-3 h-3" />
|
||||
) : isCodexSession ? (
|
||||
|
||||
Reference in New Issue
Block a user