Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

Update EditCustomCollectionModal button styling for Chinese (#2225)

Benjamin404bf11d8c3a
diff --git a/web/app/components/tools/edit-custom-collection-modal/index.tsx b/web/app/components/tools/edit-custom-collection-modal/index.tsx
index 2b4a317a47b..6c15e827f8f 100644
--- a/web/app/components/tools/edit-custom-collection-modal/index.tsx
+++ b/web/app/components/tools/edit-custom-collection-modal/index.tsx
@@ -205,7 +205,7 @@ const EditCustomCollectionModal: FC<Props> = ({
<td className="p-2 pl-3">{item.server_url ? new URL(item.server_url).pathname : ''}</td>
<td className="p-2 pl-3 w-[62px]">
<Button
- className='!h-6 !px-2 text-xs font-medium text-gray-700'
+ className='!h-6 !px-2 text-xs font-medium text-gray-700 whitespace-nowrap'
onClick={() => {
setCurrTool(item)
setIsShowTestApi(true)