fix: adjust user message bubble width to fit content

This commit is contained in:
cgoing
2025-03-21 14:01:06 +09:00
parent 2e069d0819
commit b497867ffa

View File

@@ -84,7 +84,7 @@ export function HumanMessage({
onSubmit={handleSubmitEdit} onSubmit={handleSubmitEdit}
/> />
) : ( ) : (
<p className="text-right px-4 py-2 rounded-3xl bg-muted"> <p className="text-right px-4 py-2 rounded-3xl bg-muted w-fit ml-auto">
{contentString} {contentString}
</p> </p>
)} )}