diff --git a/web/app/components/header/account-setting/model-provider-page/index.tsx b/web/app/components/header/account-setting/model-provider-page/index.tsx index dd1f3398f4..ce2036855c 100644 --- a/web/app/components/header/account-setting/model-provider-page/index.tsx +++ b/web/app/components/header/account-setting/model-provider-page/index.tsx @@ -237,6 +237,7 @@ const ModelProviderPage = ({ searchText }: Props) => { locale={locale} cardContainerClassName='grid grid-cols-2 gap-2' cardRender={cardRender} + emptyClassName='h-auto' /> ) } diff --git a/web/app/components/plugins/marketplace/list/index.tsx b/web/app/components/plugins/marketplace/list/index.tsx index cd703c9180..a2c8df0b0f 100644 --- a/web/app/components/plugins/marketplace/list/index.tsx +++ b/web/app/components/plugins/marketplace/list/index.tsx @@ -15,6 +15,7 @@ type ListProps = { cardContainerClassName?: string cardRender?: (plugin: Plugin) => JSX.Element | null onMoreClick?: () => void + emptyClassName?: string } const List = ({ marketplaceCollections, @@ -25,6 +26,7 @@ const List = ({ cardContainerClassName, cardRender, onMoreClick, + emptyClassName, }: ListProps) => { return ( <> @@ -67,7 +69,7 @@ const List = ({ } { plugins && !plugins.length && ( - + ) }