addressed a comment

This commit is contained in:
Harsh Mahajan
2025-12-29 13:36:11 +05:30
parent 26f74312d7
commit 8c514b7665
2 changed files with 14 additions and 20 deletions
+7 -10
View File
@@ -95,15 +95,12 @@
<Form onSubmit={login}>
<Layout.Stack>
{#if isCloud}
<Button
class="auth-provider-button"
secondary
fullWidth
on:click={onGithubLogin}
{disabled}>
<span class="icon-github" aria-hidden="true"></span>
<span class="text">Sign in with GitHub</span>
</Button>
<div class="auth-provider-wrapper">
<Button secondary fullWidth on:click={onGithubLogin} {disabled}>
<span class="icon-github" aria-hidden="true"></span>
<span class="text">Sign in with GitHub</span>
</Button>
</div>
<span class="with-separators eyebrow-heading-3">or</span>
{/if}
<InputEmail
@@ -136,7 +133,7 @@
</Unauthenticated>
<style>
:global(.auth-provider-button) {
.auth-provider-wrapper {
margin-bottom: var(--gap-s, 8px);
}
</style>
@@ -133,15 +133,12 @@
<Form onSubmit={register}>
<Layout.Stack>
{#if isCloud}
<Button
class="auth-provider-button"
secondary
fullWidth
on:click={onGithubLogin}
{disabled}>
<span class="icon-github" aria-hidden="true"></span>
<span class="text">Sign up with GitHub</span>
</Button>
<div class="auth-provider-wrapper">
<Button secondary fullWidth on:click={onGithubLogin} {disabled}>
<span class="icon-github" aria-hidden="true"></span>
<span class="text">Sign up with GitHub</span>
</Button>
</div>
<span class="with-separators eyebrow-heading-3">or</span>
{/if}
@@ -192,7 +189,7 @@
</Unauthenticated>
<style>
:global(.auth-provider-button) {
.auth-provider-wrapper {
margin-bottom: var(--gap-s, 8px);
}
</style>