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',
)
} />
<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>

View File

@@ -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;
}