style: 格式化代码

Prettier 格式化 CSS 类名顺序

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
肖应宇 2026-03-20 10:19:06 +08:00
parent 90ba04de20
commit 0e3da716ed
3 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ export type ConversationProps = ComponentProps<typeof StickToBottom>;
export const Conversation = ({ className, ...props }: ConversationProps) => (
<StickToBottom
className={cn("relative flex-1 overflow-y-hidden mt-[60px]", className)}
className={cn("relative mt-[60px] flex-1 overflow-y-hidden", className)}
initial="smooth"
resize="smooth"
role="log"

View File

@ -29,7 +29,7 @@ export const Message = ({ className, from, ...props }: MessageProps) => (
className={cn(
"group flex w-full flex-col gap-2 rounded-[10px] p-[20px]",
from === "user"
? "is-user px-0 ml-auto justify-end"
? "is-user ml-auto justify-end px-0"
: "is-assistant bg-[#ffffff]",
className,
)}

View File

@ -42,7 +42,7 @@ export function Welcome({
) : (
<div className="flex items-center gap-2">
<AuroraText
className="text-center font-normal text-[18px] leading-normal"
className="text-center text-[18px] leading-normal font-normal"
style={{
color: "var(--color-150033, #150033)",
fontFamily: '"Microsoft YaHei"',