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(signin): Improve login button UI (#22433) (#22514)

HyaCintha3ced1b5a6b7
diff --git a/web/app/signin/components/social-auth.tsx b/web/app/signin/components/social-auth.tsx
index 283c650f233..dc43224549e 100644
--- a/web/app/signin/components/social-auth.tsx
+++ b/web/app/signin/components/social-auth.tsx
@@ -35,7 +35,7 @@ export default function SocialAuth(props: SocialAuthProps) {
'mr-2 h-5 w-5',
)
} />
- <span className="truncate">{t('login.withGitHub')}</span>
+ <span className="truncate leading-normal">{t('login.withGitHub')}</span>
</>
</Button>
</a>
@@ -53,7 +53,7 @@ export default function SocialAuth(props: SocialAuthProps) {
'mr-2 h-5 w-5',
)
} />
- <span className="truncate">{t('login.withGoogle')}</span>
+ <span className="truncate leading-normal">{t('login.withGoogle')}</span>
</>
</Button>
</a>
diff --git a/web/app/signin/page.module.css b/web/app/signin/page.module.css
index eda396f7637..72ce7fbd8a5 100644
--- a/web/app/signin/page.module.css
+++ b/web/app/signin/page.module.css
@@ -1,7 +1,7 @@
.githubIcon {
- background: center/contain url('./assets/github.svg');
+ background: center/contain url('./assets/github.svg') no-repeat;
}
.googleIcon {
- background: center/contain url('./assets/google.svg');
+ background: center/contain url('./assets/google.svg') no-repeat;
}