diff --git a/web/app/components/tools/edit-custom-collection-modal/config-credentials.tsx b/web/app/components/tools/edit-custom-collection-modal/config-credentials.tsx index cdff542431..71fd1cd94d 100644 --- a/web/app/components/tools/edit-custom-collection-modal/config-credentials.tsx +++ b/web/app/components/tools/edit-custom-collection-modal/config-credentials.tsx @@ -53,9 +53,9 @@ const ConfigCredential: FC = ({ positionCenter={positionCenter} onHide={onHide} title={t('tools.createTool.authMethod.title')!} - panelClassName='mt-2 !w-[520px]' + panelClassName='mt-2 !w-[520px] h-fit' maxWidthClassName='!max-w-[520px]' - height='calc(100vh - 16px)' + height={'fit-content'} headerClassName='!border-b-black/5' body={
diff --git a/web/app/components/workflow/nodes/_base/components/field.tsx b/web/app/components/workflow/nodes/_base/components/field.tsx index bdc0e95442..aa93ba7597 100644 --- a/web/app/components/workflow/nodes/_base/components/field.tsx +++ b/web/app/components/workflow/nodes/_base/components/field.tsx @@ -31,7 +31,7 @@ const Filed: FC = ({ toggle: toggleFold, }] = useBoolean(true) return ( -
+
supportFold && toggleFold()} className={cn('flex justify-between items-center', supportFold && 'cursor-pointer')}> diff --git a/web/app/components/workflow/nodes/_base/components/info-panel.tsx b/web/app/components/workflow/nodes/_base/components/info-panel.tsx index 721a45634b..e7a83ee314 100644 --- a/web/app/components/workflow/nodes/_base/components/info-panel.tsx +++ b/web/app/components/workflow/nodes/_base/components/info-panel.tsx @@ -17,7 +17,7 @@ const InfoPanel: FC = ({
{title}
-
+
{content}
diff --git a/web/app/components/workflow/nodes/if-else/components/condition-item.tsx b/web/app/components/workflow/nodes/if-else/components/condition-item.tsx index 4e1163c860..cd511cce2c 100644 --- a/web/app/components/workflow/nodes/if-else/components/condition-item.tsx +++ b/web/app/components/workflow/nodes/if-else/components/condition-item.tsx @@ -145,7 +145,7 @@ const Item: FC = ({ return (
{isShowLogicalOperator && ( -
+
{Line}
= ({ nodeId={nodeId} readonly={readonly} isShowNodeName - className='w-[162px]' + className='min-w-[162px] flex-grow' value={payload.variable_selector} onChange={handleVarReferenceChange} filterVar={filterVar} @@ -229,7 +229,7 @@ const Item: FC = ({ value={!isValueReadOnly ? payload.value : ''} onChange={handleValueChange} placeholder={(!readonly && !isValueReadOnly) ? t(`${i18nPrefix}.enterValue`)! : ''} - className='w-[80px] h-8 leading-8 px-2.5 rounded-lg border-0 bg-gray-100 text-gray-900 text-[13px] placeholder:text-gray-400 focus:outline-none focus:ring-1 focus:ring-inset focus:ring-gray-200' + className='min-w-[80px] flex-grow h-8 leading-8 px-2.5 rounded-lg border-0 bg-gray-100 text-gray-900 text-[13px] placeholder:text-gray-400 focus:outline-none focus:ring-1 focus:ring-inset focus:ring-gray-200' type='text' /> {!readonly && (