fix ui issue
This commit is contained in:
@@ -61,13 +61,12 @@ export function TreeNodeWrapper({
|
|||||||
<div>
|
<div>
|
||||||
<div
|
<div
|
||||||
className={cn(
|
className={cn(
|
||||||
"flex items-center h-7 hover:bg-accent/50 cursor-pointer group",
|
"flex items-center h-7 cursor-pointer group text-sm",
|
||||||
"text-sm",
|
|
||||||
isSelected
|
isSelected
|
||||||
? "text-primary-foreground bg-primary/80"
|
? "text-primary-foreground bg-primary/80 hover:bg-primary/90"
|
||||||
: isHovered
|
: isHovered
|
||||||
? "bg-accent/70 text-foreground"
|
? "bg-accent/70 text-foreground"
|
||||||
: "text-muted-foreground"
|
: "text-muted-foreground hover:bg-accent/50"
|
||||||
)}
|
)}
|
||||||
style={{ paddingLeft: depth * 12 + 4 }}
|
style={{ paddingLeft: depth * 12 + 4 }}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user