fix(webui): keep new chat heading on one line

This commit is contained in:
Xubin Ren
2026-06-22 23:30:29 +08:00
parent 90703002c9
commit 951fd73c8e
+1 -1
View File
@@ -776,7 +776,7 @@ export function ThreadShell({
</div> </div>
) : ( ) : (
<div className="flex w-full flex-col items-center text-center animate-in fade-in-0 slide-in-from-bottom-2 duration-500"> <div className="flex w-full flex-col items-center text-center animate-in fade-in-0 slide-in-from-bottom-2 duration-500">
<h1 className="max-w-[30rem] text-balance text-[34px] font-normal leading-[1.08] tracking-normal text-foreground sm:text-[48px] sm:leading-tight"> <h1 className="max-w-[44rem] text-balance text-[34px] font-normal leading-[1.08] tracking-normal text-foreground sm:text-[48px] sm:leading-tight">
{t(heroGreetingKey)} {t(heroGreetingKey)}
</h1> </h1>
</div> </div>