File tree Expand file tree Collapse file tree 2 files changed +19
-19
lines changed
src/features/settings/components Expand file tree Collapse file tree 2 files changed +19
-19
lines changed Original file line number Diff line number Diff line change @@ -119,21 +119,19 @@ Select styles
119119 display : flex;
120120 flex-direction : column;
121121 gap : 8px ;
122- }
123- .userInfos {
124122 flex : 1 ;
125- display : flex;
126- flex-direction : column;
127- gap : 8px ;
128- width : auto;
129- margin-left : 10px ;
130123 }
124+
131125 .userName {
132126 font-weight : 600 ;
133127 }
134128 .actions {
135129 margin-top : 6px ;
136130 }
131+ .description {
132+ font-size : 0.9em ;
133+ opacity : 0.9 ;
134+ }
137135 .sub {
138136 font-size : 0.9em ;
139137 opacity : 0.9 ;
Original file line number Diff line number Diff line change @@ -17,18 +17,20 @@ export const UserInfo = () => {
1717 if ( ! user ) {
1818 return (
1919 < div className = "userContent" >
20- < AvatarPlaceholder className = "userImage" />
21- < div className = "userInfos" >
22- < div className = "userName" >
23- Join < b > Hackertab</ b >
24- </ div >
25- < div className = "sub" >
26- Create a free account on < b > Hackertab</ b > to sync, save bookmarks, and earn rewards.
27- </ div >
28- < div className = "actions" >
29- < Button className = "logoutBtn" onClick = { ( ) => openAuthModal ( ) } size = "small" >
30- Connect
31- </ Button >
20+ < div className = "userDetails" >
21+ < AvatarPlaceholder className = "userImage" />
22+ < div className = "userInfo" >
23+ < div className = "userName" >
24+ Join < b > Hackertab</ b >
25+ </ div >
26+ < div className = "description" >
27+ Create a free account on < b > Hackertab</ b > to sync, save bookmarks, and earn rewards.
28+ </ div >
29+ < div className = "actions" >
30+ < Button className = "logoutBtn" onClick = { ( ) => openAuthModal ( ) } size = "small" >
31+ Connect
32+ </ Button >
33+ </ div >
3234 </ div >
3335 </ div >
3436 </ div >
You can’t perform that action at this time.
0 commit comments