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: center align slider thumb (#36614)

yyhecfee2f072d0
diff --git a/packages/dify-ui/src/slider/index.tsx b/packages/dify-ui/src/slider/index.tsx
index 23719e5c0d3..82702c481e3 100644
--- a/packages/dify-ui/src/slider/index.tsx
+++ b/packages/dify-ui/src/slider/index.tsx
@@ -149,7 +149,7 @@ export function Slider({
step={step}
disabled={disabled}
name={name}
- thumbAlignment="edge-client-only"
+ thumbAlignment="center"
className={cn(sliderRootClassName, className)}
>
<SliderControl className={slotClassNames?.control}>