File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
apps/xen-tg-app/src/components Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -73,10 +73,17 @@ const Agent: FC<TAgentProps> = ({ capabilitiy }) => {
7373 // })
7474 return (
7575 < div className = "flex w-full items-center justify-between gap-3.5 rounded-[10px] bg-(--color-light-white-bg) p-2.5" >
76- < button className = "flex flex-1 flex-col gap-0.5 overflow-hidden" onClick = { action } >
77- < div className = "flex items-center gap-2 py-0.25 text-left text-[14px]/[100%] font-semibold wrap-anywhere" >
76+ < button
77+ className = { `flex flex-1 ${ action ? 'cursor-pointer' : 'cursor-default' } flex-col gap-0.5 overflow-hidden` }
78+ onClick = { action }
79+ >
80+ < div className = "group flex items-center gap-2 py-0.25 text-left text-[14px]/[100%] font-semibold wrap-anywhere" >
7881 { capabilitiy . title ?? capabilitiy . name }
79- { action ? < ArrowForwardIcon /> : null }
82+ { action ? (
83+ < div className = "text-[#7A818B] transition group-hover:text-(--color-main-text)" >
84+ < ArrowForwardIcon />
85+ </ div >
86+ ) : null }
8087 </ div >
8188 < div className = "flex py-0.25 text-[12px]/[100%] font-normal text-(--color-gray-text)" >
8289 { capabilitiy . domain }
You can’t perform that action at this time.
0 commit comments