mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 16:43:16 +00:00
design : add style invisible when lg and visible when hover
This commit is contained in:
@@ -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$/, '')}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user