style(agent): improve visibility of avatar change overlay text

main
sp mac bookpro 2605 2026-05-25 19:16:16 +08:00
parent 6ad12d8ad9
commit 150a0b5a3a
1 changed files with 2 additions and 2 deletions

View File

@ -348,8 +348,8 @@ export default function AgentEditor() {
) : (
(agentName?.charAt(0) || '?').toUpperCase()
)}
<div className="absolute inset-0 bg-black/20 opacity-0 group-hover:opacity-100 flex items-center justify-center transition-opacity">
<span className="text-[10px] text-white font-medium"></span>
<div className="absolute inset-0 bg-black/50 opacity-0 group-hover:opacity-100 flex items-center justify-center transition-opacity">
<span className="text-[10px] text-white font-medium drop-shadow-md"></span>
</div>
</div>
<div style={{ minWidth: 0 }}>