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): prevent signin page content from overflowing on mobile (#40921)

gegemeimingzi7d5c68c2e1cd
diff --git a/web/app/(shareLayout)/webapp-signin/normalForm.tsx b/web/app/(shareLayout)/webapp-signin/normalForm.tsx
index 542b85492ac..4232354bb4c 100644
--- a/web/app/(shareLayout)/webapp-signin/normalForm.tsx
+++ b/web/app/(shareLayout)/webapp-signin/normalForm.tsx
@@ -237,7 +237,7 @@ const NormalForm = () => {
</Link>
</div>
{isNonCloudEdition && (
- <div className="w-hull mt-2 block system-xs-regular text-text-tertiary">
+ <div className="mt-2 block w-full system-xs-regular text-text-tertiary">
{t(($) => $.goToInit, { ns: 'login' })}
&nbsp;
<Link
diff --git a/web/app/signin/layout.tsx b/web/app/signin/layout.tsx
index 860a3b3521f..5252ab9441d 100644
--- a/web/app/signin/layout.tsx
+++ b/web/app/signin/layout.tsx
@@ -11,14 +11,14 @@ export default function SignInLayout({ children }: any) {
<div className={cn('flex min-h-screen w-full justify-center bg-background-default-burn p-6')}>
<div
className={cn(
- 'flex w-full shrink-0 flex-col items-center rounded-2xl border border-effects-highlight bg-background-default-subtle',
+ 'flex w-full min-w-0 flex-col items-center rounded-2xl border border-effects-highlight bg-background-default-subtle',
)}
>
<Header />
<div
className={cn('flex w-full grow flex-col items-center justify-center px-6 md:px-27')}
>
- <div className="flex flex-col md:w-100">{children}</div>
+ <div className="flex w-full flex-col md:w-100">{children}</div>
</div>
{systemFeatures.branding.enabled === false && (
<div className="px-8 py-6 system-xs-regular text-text-tertiary">
diff --git a/web/app/signin/normal-form.tsx b/web/app/signin/normal-form.tsx
index 1a013c3e9ac..52848170cd8 100644
--- a/web/app/signin/normal-form.tsx
+++ b/web/app/signin/normal-form.tsx
@@ -328,7 +328,7 @@ function NormalForm() {
</Link>
</div>
{isNonCloudEdition && (
- <div className="w-hull mt-2 block system-xs-regular text-text-tertiary">
+ <div className="mt-2 block w-full system-xs-regular text-text-tertiary">
{t(($) => $.goToInit, { ns: 'login' })}
&nbsp;
<Link