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

Fix Developers Logos Sizes #106

Merged
merged 2 commits into from
Jan 24, 2018
Merged

Fix Developers Logos Sizes #106

merged 2 commits into from
Jan 24, 2018

Conversation

loicteixeira
Copy link
Contributor

  • Quick fix for truncated logos on developers index page. This will need further work, see Non square developers logos are cropped #105.
  • Make logos on developers detail pages smaller (it was 4 times bigger than what its container allows it to be).

Loic Teixeira added 2 commits January 24, 2018 08:24
The container has a fixed size of 7.5em, which with the base size of 16px corresponds to 120px. There is no reason to generate an image 500px wide.

Also, using `max` instead of `width` to catch vertical logos as well.
@loicteixeira loicteixeira requested a review from mojeto January 23, 2018 22:30
Copy link
Contributor

@mojeto mojeto left a comment

Choose a reason for hiding this comment

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

Good fix for now.

@loicteixeira loicteixeira merged commit eca5501 into master Jan 24, 2018
@loicteixeira loicteixeira deleted the fix/developers-logos-sizes branch January 24, 2018 01:23
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.

2 participants