From e3590bc0c1438fd0e4c302a6581a76174163fa02 Mon Sep 17 00:00:00 2001 From: Joel Date: Thu, 26 Jun 2025 17:58:21 +0800 Subject: [PATCH] fix: tool selector size --- .../plugins/plugin-detail-panel/tool-selector/index.tsx | 2 +- web/app/components/workflow/block-selector/tabs.tsx | 2 +- web/app/components/workflow/block-selector/tool-picker.tsx | 5 +++-- web/app/components/workflow/block-selector/tools.tsx | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/web/app/components/plugins/plugin-detail-panel/tool-selector/index.tsx b/web/app/components/plugins/plugin-detail-panel/tool-selector/index.tsx index db5c2b7854..b9f55387e3 100644 --- a/web/app/components/plugins/plugin-detail-panel/tool-selector/index.tsx +++ b/web/app/components/plugins/plugin-detail-panel/tool-selector/index.tsx @@ -293,7 +293,7 @@ const ToolSelector: FC = ({
{t('plugin.detailPanel.toolSelector.toolLabel')}
= ({ { activeTab === TabsEnum.Tools && ( = ({ -
+
= ({ supportAddCustomTool={supportAddCustomTool} onAddedCustomTool={handleAddedCustomTool} onShowAddCustomCollectionModal={showEditCustomCollectionModal} + inputClassName='grow' />
+
{ !tools.length && !showWorkflowEmpty && (
{t('workflow.tabs.noResult')}