Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix horizontal line visibility on login page when no SSO providers are available #9139

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

muraliSingh7
Copy link
Contributor

This fixes issue #9094

All components ,, have their own Horizontal Separator so we don't require extra Horizontal Separator.

Please review @BOHEUS . Let me know if further adjustments are needed.

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

This PR removes redundant horizontal separators from the login page UI by eliminating explicit separator components in SignInUpWorkspaceScopeForm.tsx.

  • Removed unnecessary HorizontalSeparator from /packages/twenty-front/src/modules/auth/sign-in-up/components/SignInUpWorkspaceScopeForm.tsx since each auth provider (Google, Microsoft, SSO) already includes its own
  • Fixed visual issue where horizontal lines would appear even when no SSO providers were available
  • Improves UI consistency by only showing separators when auth providers are actually present

💡 (5/5) You can turn off certain types of comments like style here!

1 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile

@@ -32,14 +32,7 @@ export const SignInUpWorkspaceScopeForm = () => {
{workspaceAuthProviders.microsoft && <SignInUpWithMicrosoft />}

{workspaceAuthProviders.sso.length > 0 && <SignInUpWithSSO />}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style: inconsistent spacing - extra blank line after SSO but not after other providers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant