fix(sxwz): 修复制品面板打开时输入框布局偏移

仅在制品面板关闭时应用 SXWZ 品牌的 -translate-x-[172px] 偏移,
避免面板打开时输入框被推出可视区域。
This commit is contained in:
肖应宇 2026-06-11 17:47:34 +08:00
parent 6c4f88d4c8
commit b0876e6542

View File

@ -579,7 +579,7 @@ export default function ChatPage() {
className={cn( className={cn(
"pointer-events-auto relative w-full max-w-[720px]", "pointer-events-auto relative w-full max-w-[720px]",
showWelcomeStyle && "-translate-y-[calc(50vh-96px)]", showWelcomeStyle && "-translate-y-[calc(50vh-96px)]",
brand === "sxwz" && "-translate-x-[172px]" brand === "sxwz"&& artifactsOpen ===false && "-translate-x-[172px]"
)} )}
> >
{!(showWelcomeStyle && thread.isThreadLoading) ? ( {!(showWelcomeStyle && thread.isThreadLoading) ? (