From 6a1de47a1761d12467323f8005c6a2beec2aaf31 Mon Sep 17 00:00:00 2001 From: Weiko Date: Thu, 16 Jul 2026 20:25:39 +0200 Subject: [PATCH] Fix signup visual regression in workspace selection layout (#22965) ## Summary - Split the sign-in/up onboarding container styles so workspace selection can keep its wider layout without affecting the other auth states. - Reuse the base onboarding container for the non-selection flow to restore the intended visual structure. https://github.com/twentyhq/twenty/commit/566c3b662954de932677a3fefe69735a45fe55ae commit accidentally reused the 440px workspace-selection container for the global credential form ## Before Screenshot 2026-07-16 at 18 14 35 ## After Screenshot 2026-07-16 at 18 11 58 Review in cubic --- .../components/SignInUpGlobalScopeForm.tsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/packages/twenty-front/src/modules/auth/sign-in-up/components/SignInUpGlobalScopeForm.tsx b/packages/twenty-front/src/modules/auth/sign-in-up/components/SignInUpGlobalScopeForm.tsx index abeb172ffe..f49acf7e36 100644 --- a/packages/twenty-front/src/modules/auth/sign-in-up/components/SignInUpGlobalScopeForm.tsx +++ b/packages/twenty-front/src/modules/auth/sign-in-up/components/SignInUpGlobalScopeForm.tsx @@ -38,7 +38,9 @@ import { import { getWorkspaceUrl } from '~/utils/getWorkspaceUrl'; import { getAbsoluteImageUrl } from '~/utils/image/getAbsoluteImageUrl'; -const StyledContentContainer = styled(StyledOnboardingContentContainer)` +const StyledWorkspaceSelectionContentContainer = styled( + StyledOnboardingContentContainer, +)` max-width: 100%; width: ${ONBOARDING_CONTENT_BLOCK_WIDTH}px; `; @@ -171,7 +173,7 @@ export const SignInUpGlobalScopeForm = () => { return ( <> {signInUpStep === SignInUpStep.WorkspaceSelection && ( - + {availableWorkspacesList.map((availableWorkspace, index) => ( { )} - + )} {signInUpStep !== SignInUpStep.WorkspaceSelection && ( - + {authProviders.google && ( { )} - + )} );