fix(sxwz): 修复制品面板打开时输入框布局偏移
仅在制品面板关闭时应用 SXWZ 品牌的 -translate-x-[172px] 偏移, 避免面板打开时输入框被推出可视区域。
This commit is contained in:
parent
29203a14b8
commit
5027a92314
@ -579,7 +579,7 @@ export default function ChatPage() {
|
||||
className={cn(
|
||||
"pointer-events-auto relative w-full max-w-[720px]",
|
||||
showWelcomeStyle && "-translate-y-[calc(50vh-96px)]",
|
||||
brand === "sxwz" && "-translate-x-[172px]"
|
||||
brand === "sxwz"&& artifactsOpen ===false && "-translate-x-[172px]"
|
||||
)}
|
||||
>
|
||||
{!(showWelcomeStyle && thread.isThreadLoading) ? (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user