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

pull/22455/merge
HyaCinth 7 months ago committed by GitHub
parent fb5c6dd644
commit a3ced1b5a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

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

Loading…
Cancel
Save