From d0605a3535a8d9b8b3c380e45c67e946eabc2f82 Mon Sep 17 00:00:00 2001 From: gegemeimingzi Date: Tue, 18 Aug 2026 12:40:24 +0800 Subject: [PATCH] fix(web): prevent signin page content from overflowing on mobile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Replace `shrink-0` with `min-w-0` on the card container so it can shrink below its content width on narrow viewports - Add `w-full` to the form wrapper so child elements with `w-full` have a proper width constraint on mobile (md:w-100 only applies at md+) - Fix `w-hull` typo → `w-full` in both signin normalForm files Fixes #35606 --- web/app/(shareLayout)/webapp-signin/normalForm.tsx | 2 +- web/app/signin/layout.tsx | 4 ++-- web/app/signin/normal-form.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web/app/(shareLayout)/webapp-signin/normalForm.tsx b/web/app/(shareLayout)/webapp-signin/normalForm.tsx index 542b85492acd6d..4232354bb4c47a 100644 --- a/web/app/(shareLayout)/webapp-signin/normalForm.tsx +++ b/web/app/(shareLayout)/webapp-signin/normalForm.tsx @@ -237,7 +237,7 @@ const NormalForm = () => { {isNonCloudEdition && ( -
+
{t(($) => $.goToInit, { ns: 'login' })}  
-
{children}
+
{children}
{systemFeatures.branding.enabled === false && (
diff --git a/web/app/signin/normal-form.tsx b/web/app/signin/normal-form.tsx index 1a013c3e9ac88d..52848170cd8c83 100644 --- a/web/app/signin/normal-form.tsx +++ b/web/app/signin/normal-form.tsx @@ -328,7 +328,7 @@ function NormalForm() {
{isNonCloudEdition && ( -
+
{t(($) => $.goToInit, { ns: 'login' })}