style: format
This commit is contained in:
@@ -72,7 +72,7 @@ export function HumanMessage({
|
||||
return (
|
||||
<div
|
||||
className={cn(
|
||||
"flex items-center ml-auto gap-2 group",
|
||||
"group ml-auto flex items-center gap-2",
|
||||
isEditing && "w-full max-w-xl",
|
||||
)}
|
||||
>
|
||||
@@ -84,14 +84,14 @@ export function HumanMessage({
|
||||
onSubmit={handleSubmitEdit}
|
||||
/>
|
||||
) : (
|
||||
<p className="px-4 py-2 rounded-3xl bg-muted w-fit ml-auto whitespace-pre-wrap">
|
||||
<p className="bg-muted ml-auto w-fit rounded-3xl px-4 py-2 whitespace-pre-wrap">
|
||||
{contentString}
|
||||
</p>
|
||||
)}
|
||||
|
||||
<div
|
||||
className={cn(
|
||||
"flex gap-2 items-center ml-auto transition-opacity",
|
||||
"ml-auto flex items-center gap-2 transition-opacity",
|
||||
"opacity-0 group-focus-within:opacity-100 group-hover:opacity-100",
|
||||
isEditing && "opacity-100",
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user