-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix #2812: incorrect width of blog entry author photo #2842
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
Conversation
changed author-image width to be auto, since images are 200x200 and they were getting clipped to 100x200 pre/post screenshots: http://imgur.com/a/Td0IN
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.
Hello, and thank you for opening this PR! 🎉
All contributors have signed the CLA, thank you! ❤️
Have an awesome day! ☀️
Hi, thanks for your contribution which looks good to me! Before we can merge it you'll need to accept the Scala CLA at https://www.lightbend.com/contribute/cla/scala |
@smarter I think the cla bot lied to me!
Let me get on that. I could try to fix the bot to have the link to the scala CLA (not sure what checks its missing since it still posted even though the check failed) |
I have signed the CLA |
Yeah the bot is being weird, it's supposed to check for the CLA but gets it wrong for some reason, we haven't had time to figure out why yet. Anyway, thanks for signing the CLA! |
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.
LGTM.
Oh actually, there's one change you could do to make this even better: in one of your commit message start with "Fix #2812: ...", this way github will automatically close the issue when this PR is merged. |
Note that just changing the PR title does not work for github auto-closing feature: you need to actually change the commit message of one of your commit (you can edit the last commit message with |
Fixing author-image to be bound to 100px max. Fixes: scala#2812 With: ``` width:100px height:auto ``` On firefox, the image is scaled to be 100x100. However on chrome, it ends up being 200x100. Since we wan't to fix the width to 100px (from that original css), I've updated the max-width and max-height to be 100, so the image is always squared.
Ah I did not read the "one of your commit messages bit", my bad. Done |
Thanks! I'll merge once the CI confirms the tests pass. |
Fixes #2812