fix(web): working and monitoring threads fade in the sidebar again (#13506)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
1 parent
0109670411
commit
8251c8de78
1 file changed
+5
@@ -1400,6 +1400,11 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: {
|
||||
: shouldRecede
|
||||
? "text-sidebar-muted-foreground/75 hover:bg-sidebar-row-hover hover:text-sidebar-foreground"
|
||||
: "bg-transparent text-sidebar-foreground hover:bg-sidebar-row-hover",
|
||||
// Background work fades as a whole row, status label included, so it
|
||||
// takes less attention than rows that need a human (input, approval).
|
||||
shouldRecede &&
|
||||
(status === "working" || status === "monitoring") &&
|
||||
"opacity-70 transition-opacity hover:opacity-100 focus-within:opacity-100 motion-reduce:transition-none",
|
||||
isFileDragOver && "ring-1 ring-inset ring-primary/70",
|
||||
// The hover tint must not clobber an active/selected row's own surface.
|
||||
isFileDragOver && !props.isActive && !isSelected && "bg-sidebar-row-hover",
|
||||
|
||||
Reference in new issue
Block a user