Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit620d06b

Browse files
committed
remove icon size from oauth buttons
1 parentf87bf37 commit620d06b

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

‎site/src/pages/LoginPage/OAuthSignInForm.tsx‎

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ import { Button } from "components/Button/Button";
66
import{typeFC,useId}from"react";
77
import{Language}from"./Language";
88

9-
consticonStyles={
10-
width:16,
11-
height:16,
12-
};
13-
149
typeOAuthSignInFormProps={
1510
isSigningIn:boolean;
1611
redirectTo:string;
@@ -38,7 +33,7 @@ export const OAuthSignInForm: FC<OAuthSignInFormProps> = ({
3833
redirectTo,
3934
)}`}
4035
>
41-
<GitHubIconcss={iconStyles}/>
36+
<GitHubIcon/>
4237
{Language.githubSignIn}
4338
</a>
4439
</Button>
@@ -61,7 +56,7 @@ export const OAuthSignInForm: FC<OAuthSignInFormProps> = ({
6156
{authMethods.oidc.iconUrl ?(
6257
<OidcIconiconUrl={authMethods.oidc.iconUrl}/>
6358
) :(
64-
<KeyIconcss={iconStyles}/>
59+
<KeyIcon/>
6560
)}
6661
{authMethods.oidc.signInText||Language.oidcSignIn}
6762
</a>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp