Parcourir la source

fix: llm editor readonly cover error (#3752)

tags/0.6.5
Joel il y a 1 an
Parent
révision
3cd8e6f5c6
Aucun compte lié à l'adresse e-mail de l'auteur

+ 1
- 1
web/app/components/workflow/nodes/_base/components/prompt/editor.tsx Voir le fichier

@@ -138,7 +138,7 @@ const Editor: FC<Props> = ({

{/* Min: 80 Max: 560. Header: 24 */}
<div className={cn('pb-2', isExpand && 'flex flex-col grow')}>
<div className={cn(isExpand ? 'grow' : 'max-h-[536px]', 'px-3 min-h-[56px] overflow-y-auto')}>
<div className={cn(isExpand ? 'grow' : 'max-h-[536px]', 'relative px-3 min-h-[56px] overflow-y-auto')}>
<PromptEditor
instanceId={instanceId}
compact

Chargement…
Annuler
Enregistrer