mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-03 07:11:56 +00:00
design : add style invisible when lg and visible when hover
This commit is contained in:
1 parent
3767d14e5c
commit
a9b61d3e13
1 file changed
+4
-1
@@ -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