mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-05-09 02:50:17 +00:00
chore: adjust position of copy button
This commit is contained in:
parent
f1713d332a
commit
323373f0df
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ export function MessageCard({
|
|||
} w-full rounded-xl border px-4 py-3 ${className || ""} group`}
|
||||
>
|
||||
{role === "user" && (
|
||||
<div className="absolute bottom-[-30px] right-1 opacity-0 group-hover:opacity-100 transition-opacity duration-300">
|
||||
<div className="absolute bottom-[0px] right-1 opacity-0 group-hover:opacity-100 transition-opacity duration-300">
|
||||
<Button onClick={handleCopy} variant="ghost" size="icon">
|
||||
<Copy />
|
||||
</Button>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue