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: audio config ui problem (#39504)

Joelb2861b60d8ef
diff --git a/web/app/components/app/configuration/config/config-audio.tsx b/web/app/components/app/configuration/config/config-audio.tsx
index e8337c45625..436595c2a5a 100644
--- a/web/app/components/app/configuration/config/config-audio.tsx
+++ b/web/app/components/app/configuration/config/config-audio.tsx
@@ -44,7 +44,7 @@ const ConfigAudio: FC = () => {
if (!isShowAudioConfig || (readonly && !isAudioEnabled)) return null
return (
- <div className="mt-2 flex items-center gap-2 rounded-xl border-t-[0.5px] border-l-[0.5px] bg-background-section-burn p-2">
+ <div className="mt-2 flex items-center gap-2 rounded-xl border-t-[0.5px] border-l-[0.5px] border-effects-highlight bg-background-section-burn p-2">
<div className="shrink-0 p-1">
<div className="rounded-lg border-[0.5px] border-divider-subtle bg-util-colors-violet-violet-600 p-1 shadow-xs">
<Microphone01 className="size-4 text-text-primary-on-surface" />
@@ -63,7 +63,7 @@ const ConfigAudio: FC = () => {
</div>
{!readonly && (
<div className="flex shrink-0 items-center">
- <div className="mr-3 ml-1 h-3.5 w-px bg-divider-subtle"></div>
+ <div className="mr-3 ml-1 h-3.5 w-px bg-divider-regular"></div>
<Switch checked={isAudioEnabled} onCheckedChange={handleChange} size="md" />
</div>
)}