style: format

This commit is contained in:
dkseo
2025-04-11 11:46:23 +09:00
parent 8c37090f00
commit d04c7080fc
19 changed files with 287 additions and 167 deletions

View File

@@ -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",
)}