-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Update AuthenticationPage.js #2134
Conversation
Removed the login button's negative margin to prevent obscuring the logo. Adjusted the custom logos height and width to scale according to the file up to a predefined max-width and max-height so that it can align to the center. #2133
Preview proposed changes to the CMS demo site in the link below: Built with commit 9a1dc0f |
No idea what I am doing. Please look at this carefully 😛 |
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.
Fixed a typo.
Preview proposed changes to netlifycms.org in the link below: Built with commit 9a1dc0f |
Just checking in on this - does everything look gucci now? The incorrectly aligned logo on the login page has been making a poor first impression to Netlify CMS. |
@tomrutgers can you test and approve this PR please, it's a first time contributor. |
Can you see why the max-height is not being applied to the HTML.COM image? |
@adamcnaglich It's not applied to the image, it's applied to its wrapper. |
Removed the login button's negative margin to prevent obscuring the logo. Adjusted the custom logos height and width to scale according to the file up to a predefined max-width and max-height so that it can align to the center.
fixes #2133
Summary
Removed the login button's negative margin to prevent obscuring the logo. Adjusted the custom logos height and width to scale according to the file up to a predefined max-width and max-height so that it can align to the center.
Test plan