File tree Expand file tree Collapse file tree
src/features/settings/components/GeneralSettings Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,18 +44,20 @@ const UserInfo = ({ user }: UserInfoProps) => {
4444 { user ?. imageURL && < img src = { user . imageURL } className = "userImage" > </ img > }
4545 < div className = "userInfos" >
4646 < div className = "userName" > { user . name } </ div >
47- < div className = "sub providerId " >
47+ < div className = "sub" >
4848 { providerId == 'github.com' ? (
49- < FaGithub />
49+ < FaGithub size = { 18 } />
5050 ) : providerId == 'google.com' ? (
51- < FcGoogle />
51+ < FcGoogle size = { 18 } />
5252 ) : null }
5353 Connected with < span className = "capitalize" > { providerName } </ span >
5454 </ div >
55+ < div >
56+ < Button className = "logoutBtn" onClick = { ( ) => setShowLogout ( true ) } size = "small" >
57+ Logout
58+ </ Button >
59+ </ div >
5560 </ div >
56- < Button className = "logoutBtn" onClick = { ( ) => setShowLogout ( true ) } >
57- Logout
58- </ Button >
5961 </ div >
6062 )
6163}
Original file line number Diff line number Diff line change @@ -107,12 +107,13 @@ Select styles
107107 width : 50px ;
108108 height : 50px ;
109109 border-radius : 100% ;
110+ align-self : flex-start;
110111}
111112.userContent .userInfos {
112113 flex : 1 ;
113114 display : flex;
114115 flex-direction : column;
115- gap : 6 px ;
116+ gap : 8 px ;
116117 width : auto;
117118 margin-left : 10px ;
118119}
@@ -123,14 +124,8 @@ Select styles
123124.userContent .sub {
124125 font-size : 0.9em ;
125126 opacity : 0.9 ;
126- }
127- .userContent .providerId {
128- font-size : medium;
129- margin-top : 6px ;
130127 display : flex;
128+ flex-direction : row;
131129 align-items : center;
132- gap : 8px ;
133- }
134- .userContent .logoutBtn {
135- margin-left : auto;
130+ column-gap : 4px ;
136131}
You can’t perform that action at this time.
0 commit comments