style: 格式化代码
Prettier 格式化 CSS 类名顺序 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
90ba04de20
commit
0e3da716ed
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -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"',
|
||||
|
|
|
|||
Loading…
Reference in New Issue