design : add style invisible when lg and visible when hover

pull/955/head
jang_yoonsu 2 weeks ago
parent 3767d14e5c
commit a9b61d3e13

@ -99,7 +99,10 @@ const ConversationBubble = forwardRef<
{children}
</code>
)}
<div className="absolute right-3 top-3">
<div
className={`absolute right-3 top-3 lg:invisible
${type !== 'ERROR' ? 'group-hover:lg:visible' : ''} `}
>
<CoppyButton
text={String(children).replace(/\n$/, '')}
/>

Loading…
Cancel
Save