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 app creation and pricing separators (#42629)

yyh679785b67e42
diff --git a/web/app/components/app/create-app-modal/index.tsx b/web/app/components/app/create-app-modal/index.tsx
index 50a726febdf..cda3c2614af 100644
--- a/web/app/components/app/create-app-modal/index.tsx
+++ b/web/app/components/app/create-app-modal/index.tsx
@@ -297,7 +297,7 @@ function CreateApp({ onClose, onCreateFromTemplate, defaultAppMode }: CreateAppP
</div>
)}
</div>
- <Separator className="h-[0.5px]" />
+ <Separator />
<div className="flex items-center space-x-3">
<div className="flex-1">
<div className="mb-1 flex h-6 items-center">
diff --git a/web/app/components/billing/pricing/plans/cloud-plan-item/list/index.tsx b/web/app/components/billing/pricing/plans/cloud-plan-item/list/index.tsx
index eecbc04cac6..6e7e5ba14e6 100644
--- a/web/app/components/billing/pricing/plans/cloud-plan-item/list/index.tsx
+++ b/web/app/components/billing/pricing/plans/cloud-plan-item/list/index.tsx
@@ -40,7 +40,7 @@ export function CloudPlanFeatures({ plan }: { plan: CloudPlan }) {
<CloudPlanFeature
label={t(($) => $['plansCommon.buildApps'], { ns: 'billing', count: planInfo.buildApps })}
/>
- <Separator className="my-2 h-[0.5px]" variant="gradient" />
+ <Separator className="my-2 from-divider-accent" variant="gradient" />
<CloudPlanFeature
label={t(($) => $['plansCommon.documents'], { ns: 'billing', count: planInfo.documents })}
description={t(($) => $['plansCommon.documentsTooltip'], { ns: 'billing' }) as string}
@@ -67,7 +67,7 @@ export function CloudPlanFeatures({ plan }: { plan: CloudPlan }) {
t(($) => $['plansCommon.documentProcessingPriority'], { ns: 'billing' }),
].join('')}
/>
- <Separator className="my-2 h-[0.5px]" variant="gradient" />
+ <Separator className="my-2 from-divider-accent" variant="gradient" />
<CloudPlanFeature
label={
planInfo.triggerEvents === NUM_INFINITE
@@ -103,7 +103,7 @@ export function CloudPlanFeatures({ plan }: { plan: CloudPlan }) {
t(($) => $['plansCommon.workflowExecution.tooltip'], { ns: 'billing' }) as string
}
/>
- <Separator className="my-2 h-[0.5px]" variant="gradient" />
+ <Separator className="my-2 from-divider-accent" variant="gradient" />
<CloudPlanFeature
label={t(($) => $['plansCommon.annotatedResponse.title'], {
ns: 'billing',
@@ -134,7 +134,7 @@ export function CloudPlanFeatures({ plan }: { plan: CloudPlan }) {
: (t(($) => $['plansCommon.apiRateLimitTooltip'], { ns: 'billing' }) as string)
}
/>
- <Separator className="my-2 h-[0.5px]" variant="gradient" />
+ <Separator className="my-2 from-divider-accent" variant="gradient" />
<CloudPlanFeature label={t(($) => $['plansCommon.modelProviders'], { ns: 'billing' })} />
</div>
)