fix(sxwz): 修复制品面板打开时输入框布局偏移
仅在制品面板关闭时应用 SXWZ 品牌的 -translate-x-[172px] 偏移, 避免面板打开时输入框被推出可视区域。
This commit is contained in:
parent
6c4f88d4c8
commit
b0876e6542
@ -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) ? (
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user