Fix the login display on mobile devices