diff --git a/web/app/components/plugins/marketplace/search-box/index.tsx b/web/app/components/plugins/marketplace/search-box/index.tsx index 513f8b98ad..61fff2c7a9 100644 --- a/web/app/components/plugins/marketplace/search-box/index.tsx +++ b/web/app/components/plugins/marketplace/search-box/index.tsx @@ -40,7 +40,7 @@ const SearchBox = ({ locale={locale} />
-
+
{ search && ( - onSearchChange('')}> - - +
+ onSearchChange('')}> + + +
) }
diff --git a/web/app/components/workflow/block-selector/market-place-plugin/list.tsx b/web/app/components/workflow/block-selector/market-place-plugin/list.tsx index 540b7d924f..596b6f21c5 100644 --- a/web/app/components/workflow/block-selector/market-place-plugin/list.tsx +++ b/web/app/components/workflow/block-selector/market-place-plugin/list.tsx @@ -74,11 +74,13 @@ const List = ({ ) } + const maxWidthClassName = 'max-w-[300px]' + return ( <> {hasRes && (
{t('plugin.fromMarketplace')} @@ -93,7 +95,7 @@ const List = ({
)} -
+
{list.map((item, index) => ( = ({ { activeTab === TabsEnum.Tools && (