Skip to content
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

Closed
wants to merge 2 commits into from
Closed

Update AuthenticationPage.js #2134

wants to merge 2 commits into from

Conversation

adamcnaglich
Copy link

@adamcnaglich adamcnaglich commented Mar 1, 2019

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
screen shot 2019-03-01 at 1 42 39 pm

screen shot 2019-03-01 at 1 42 20 pm

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
@netlify
Copy link

netlify bot commented Mar 1, 2019

Preview proposed changes to the CMS demo site in the link below:

Built with commit 9a1dc0f

https://deploy-preview-2134--cms-demo.netlify.com

@adamcnaglich
Copy link
Author

No idea what I am doing. Please look at this carefully 😛

Copy link
Author

@adamcnaglich adamcnaglich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed a typo.

@netlify
Copy link

netlify bot commented Mar 1, 2019

Preview proposed changes to netlifycms.org in the link below:

Built with commit 9a1dc0f

https://deploy-preview-2134--netlify-cms-www.netlify.com

@adamcnaglich
Copy link
Author

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.

@barthc
Copy link
Contributor

barthc commented Mar 20, 2019

@tomrutgers can you test and approve this PR please, it's a first time contributor.

@tomrutgers
Copy link
Contributor

I might be missing something but when I'm testing it, the changes do not seem to fix the problem when using larger images:

screenshot

@adamcnaglich
Copy link
Author

Can you see why the max-height is not being applied to the HTML.COM image?

@tomrutgers
Copy link
Contributor

tomrutgers commented Mar 25, 2019

@adamcnaglich It's not applied to the image, it's applied to its wrapper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Custom logo positioning issues
3 participants