fix: llm selector position is incorrect in not workflow app (#4982)

This commit is contained in:
Joel
2024-06-06 10:47:36 +08:00
committed by GitHub
parent 5cdb95be1f
commit da5f2e168a

View File

@@ -152,7 +152,7 @@ const ModelParameterModal: FC<ModelParameterModalProps> = ({
<PortalToFollowElem
open={open}
onOpenChange={setOpen}
placement='left'
placement={isInWorkflow ? 'left' : 'bottom-end'}
offset={4}
>
<div className='relative'>