fix(signin): Improve login button UI (#22433) (#22514)

This commit is contained in:
HyaCinth
2025-07-17 10:15:24 +08:00
committed by GitHub
parent fb5c6dd644
commit a3ced1b5a6
2 changed files with 4 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ export default function SocialAuth(props: SocialAuthProps) {
'mr-2 h-5 w-5', 'mr-2 h-5 w-5',
) )
} /> } />
<span className="truncate">{t('login.withGitHub')}</span> <span className="truncate leading-normal">{t('login.withGitHub')}</span>
</> </>
</Button> </Button>
</a> </a>
@@ -53,7 +53,7 @@ export default function SocialAuth(props: SocialAuthProps) {
'mr-2 h-5 w-5', 'mr-2 h-5 w-5',
) )
} /> } />
<span className="truncate">{t('login.withGoogle')}</span> <span className="truncate leading-normal">{t('login.withGoogle')}</span>
</> </>
</Button> </Button>
</a> </a>

View File

@@ -1,7 +1,7 @@
.githubIcon { .githubIcon {
background: center/contain url('./assets/github.svg'); background: center/contain url('./assets/github.svg') no-repeat;
} }
.googleIcon { .googleIcon {
background: center/contain url('./assets/google.svg'); background: center/contain url('./assets/google.svg') no-repeat;
} }