fix padding

This commit is contained in:
Krishav Raj Singh 2025-07-18 12:22:50 +05:30
parent 62d1bd856c
commit 23adbb3d1f
1 changed files with 2 additions and 2 deletions

View File

@ -644,7 +644,7 @@ export const ThreadContent: React.FC<ThreadContentProps> = ({
} else if (group.type === 'assistant_group') { } else if (group.type === 'assistant_group') {
return ( return (
<div key={group.key} ref={groupIndex === groupedMessages.length - 1 ? latestMessageRef : null}> <div key={group.key} ref={groupIndex === groupedMessages.length - 1 ? latestMessageRef : null}>
<div className="flex flex-col gap-2 group bg-card border px-4 py-3 rounded-3xl rounded-bl-lg relative"> <div className="flex flex-col gap-2 group bg-card border p-5 rounded-3xl rounded-bl-lg relative">
<div className="flex items-center"> <div className="flex items-center">
<div className="rounded-md flex items-center justify-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 // Get the processed content that was stored during rendering
const processedContent = group.processedContent; const processedContent = group.processedContent;
return ( return (
<div className="opacity-0 group-hover:opacity-100 transition-opacity bg-card border absolute -bottom-4 right-4 rounded-full p-2"> <div className="opacity-0 group-hover:opacity-100 transition-opacity bg-card border absolute -bottom-5 right-4 rounded-full p-2">
<MessageActions <MessageActions
messageId={messageId} messageId={messageId}
initialFeedback={firstAssistant?.user_feedback ?? null} initialFeedback={firstAssistant?.user_feedback ?? null}