@@ -101,7 +101,7 @@ const Header = () => {
101101
102102 { /* Authentication */ }
103103 { isAuthenticated && user ? (
104- < div className = "relative" >
104+ < div className = "relative hidden md:block " >
105105 < button
106106 onClick = { ( ) => setShowUserMenu ( ! showUserMenu ) }
107107 className = "flex items-center space-x-2 bg-gray-100 dark:bg-transparent hover:bg-gray-200 dark:hover:bg-gray-800/60 px-3 py-2 rounded-lg transition-colors duration-200"
@@ -222,7 +222,7 @@ const Header = () => {
222222
223223 { isAuthenticated && user && (
224224 < div className = "pt-4 border-t border-gray-200 dark:border-gray-800" >
225- < div className = "flex items-center space-x-3 mb-4" >
225+ < div className = "flex flex-col items-center space-y-2 mb-4" >
226226 < div
227227 className = "w-8 h-8 rounded-full flex items-center justify-center"
228228 style = { { backgroundColor : "#3f51b5" } }
@@ -233,7 +233,7 @@ const Header = () => {
233233 : user . email . charAt ( 0 ) . toUpperCase ( ) }
234234 </ span >
235235 </ div >
236- < div >
236+ < div className = "text-center" >
237237 < div className = "text-gray-900 dark:text-gray-100 text-sm font-medium" >
238238 { user . name || user . email . split ( "@" ) [ 0 ] }
239239 </ div >
@@ -247,7 +247,7 @@ const Header = () => {
247247 handleSignOut ( ) ;
248248 setIsMobileMenuOpen ( false ) ;
249249 } }
250- className = "w-full text-gray-500 dark:text-gray-400 hover:bg-gray-200 dark:hover:bg-gray-700 px-4 py-2 rounded-lg text-sm font-medium transition-colors duration-200"
250+ className = "block mx-auto text-gray-500 dark:text-gray-400 hover:bg-gray-200 dark:hover:bg-gray-700 px-4 py-2 rounded-lg text-sm font-medium transition-colors duration-200"
251251 >
252252 Sign Out
253253 </ button >
0 commit comments