mirror of https://github.com/kortix-ai/suna.git
final_changes
This commit is contained in:
parent
f12a35ce39
commit
62d1bd856c
|
@ -644,7 +644,7 @@ export const ThreadContent: React.FC<ThreadContentProps> = ({
|
|||
} else if (group.type === 'assistant_group') {
|
||||
return (
|
||||
<div key={group.key} ref={groupIndex === groupedMessages.length - 1 ? latestMessageRef : null}>
|
||||
<div className="flex flex-col gap-2 group">
|
||||
<div className="flex flex-col gap-2 group bg-card border px-4 py-3 rounded-3xl rounded-bl-lg relative">
|
||||
<div className="flex items-center">
|
||||
<div className="rounded-md flex items-center justify-center">
|
||||
{(() => {
|
||||
|
@ -964,7 +964,7 @@ export const ThreadContent: React.FC<ThreadContentProps> = ({
|
|||
// Get the processed content that was stored during rendering
|
||||
const processedContent = group.processedContent;
|
||||
return (
|
||||
<div className="opacity-0 group-hover:opacity-100 transition-opacity">
|
||||
<div className="opacity-0 group-hover:opacity-100 transition-opacity bg-card border absolute -bottom-4 right-4 rounded-full p-2">
|
||||
<MessageActions
|
||||
messageId={messageId}
|
||||
initialFeedback={firstAssistant?.user_feedback ?? null}
|
||||
|
|
|
@ -74,7 +74,7 @@ export default memo(function MessageActions({ messageId, initialFeedback = null,
|
|||
};
|
||||
|
||||
return (
|
||||
<div className="flex items-center gap-1 ml-auto justify-end pr-8">
|
||||
<div className="flex items-center gap-1 justify-end">
|
||||
<button
|
||||
className="h-4 w-4 p-0 rounded-sm hover:bg-muted/50 transition-colors flex items-center justify-center"
|
||||
onClick={handleCopy}
|
||||
|
|
Loading…
Reference in New Issue