mirror of
https://github.com/langgenius/dify.git
synced 2026-07-21 18:58:35 +08:00
fix(web): align external API and service API buttons vertically in datasets header (#38139)
This commit is contained in:
parent
374bdb7cdd
commit
cb6179356c
@ -31,7 +31,7 @@ const ServiceApi = ({
|
||||
}, [])
|
||||
|
||||
return (
|
||||
<div>
|
||||
<div className="flex items-center">
|
||||
<Popover
|
||||
open={open}
|
||||
onOpenChange={setOpen}
|
||||
|
||||
@ -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" />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user