-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
The mobile Login Page 🚪 #2389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The mobile Login Page 🚪 #2389
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking excellent! The breakpoint at 770px is seamless. We discussed that maybe the contents should stay vertically aligned to the center below 550px rather than shifting to the top. But either way is acceptable.
|
||
@media (max-width: 550px) { | ||
text-align: center; | ||
margin: #{12 / $base-font-size}rem; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like all this media query does is increase the gap between the "sign up" and "forgot your password" lines?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes
@lindapaiste, I just made the required changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good, and we will continue improving it in the future.
One request -- for pages like this where the main LoginView
has been made responsive, we should remove the legacy mobileFirst
switching in the routes.jsx
file.
p5.js-web-editor/client/routes.jsx
Lines 57 to 62 in 2eb8690
<Route | |
path="/login" | |
component={userIsNotAuthenticated( | |
mobileFirst(responsiveForm(LoginView), LoginView) | |
)} | |
/> |
We'll do this for each page as we tackle it until eventually we get them all.
okay I'll remove the legacy code |
will create a separate PR for removing all the legacy code after this |
@lindapaiste I think we should merge this |
This Project is a part of the mobile project
Changes:
I have verified that this pull request:
npm run lint
)npm run test
)develop
branch.