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.

fix(web): align external API and service API buttons vertically in datasets header (#38139)

蒜香飞行矮堇瓜cb6179356c18
diff --git a/web/app/components/datasets/extra-info/service-api/index.tsx b/web/app/components/datasets/extra-info/service-api/index.tsx
index 8d1ca6e4d16..679e80c5df3 100644
--- a/web/app/components/datasets/extra-info/service-api/index.tsx
+++ b/web/app/components/datasets/extra-info/service-api/index.tsx
@@ -31,7 +31,7 @@ const ServiceApi = ({
}, [])
return (
- <div>
+ <div className="flex items-center">
<Popover
open={open}
onOpenChange={setOpen}
diff --git a/web/app/components/datasets/list/header.tsx b/web/app/components/datasets/list/header.tsx
index 85508625801..a1577ba6fe9 100644
--- a/web/app/components/datasets/list/header.tsx
+++ b/web/app/components/datasets/list/header.tsx
@@ -54,7 +54,7 @@ const DatasetListHeader = ({
{canConnectExternalDataset && (
<button
type="button"
- className="flex items-center justify-center gap-1 overflow-hidden rounded-md px-1.5 py-1 text-text-tertiary hover:bg-state-base-hover"
+ className="flex h-6 items-center justify-center gap-1 overflow-hidden rounded-md px-1.5 py-1 text-text-tertiary hover:bg-state-base-hover"
onClick={onExternalApiClick}
>
<span aria-hidden className="i-custom-vender-solid-development-api-connection-mod size-3.5 shrink-0" />