style(agent): improve visibility of avatar change overlay text
parent
6ad12d8ad9
commit
150a0b5a3a
|
|
@ -348,8 +348,8 @@ export default function AgentEditor() {
|
||||||
) : (
|
) : (
|
||||||
(agentName?.charAt(0) || '?').toUpperCase()
|
(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">
|
<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">更换形象</span>
|
<span className="text-[10px] text-white font-medium drop-shadow-md">更换形象</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style={{ minWidth: 0 }}>
|
<div style={{ minWidth: 0 }}>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue