fix: some dark mode display incorrect (#20788)

This commit is contained in:
非法操作
2025-06-09 16:09:27 +08:00
committed by GitHub
parent d6a8af03b4
commit ab62a9662c
3 changed files with 4 additions and 4 deletions

View File

@@ -141,7 +141,7 @@ const Item: FC<ItemProps> = ({
ref={itemRef}
className={cn(
(isObj || isStructureOutput) ? ' pr-1' : 'pr-[18px]',
isHovering && ((isObj || isStructureOutput) ? 'bg-primary-50' : 'bg-state-base-hover'),
isHovering && ((isObj || isStructureOutput) ? 'bg-components-panel-on-panel-item-bg-hover' : 'bg-state-base-hover'),
'relative flex h-6 w-full cursor-pointer items-center rounded-md pl-3')
}
onClick={handleChosen}