You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Developers logos currently use the fill-80x80-c100 rule which crops non-square logos.
Using max-80x80 doesn't crop it but doesn't look great either (althougth might be a good first quick fix).
We might need to write a custom filter which does the same as max-80x80 but also centers the image horizontally and vertically. Custom filters aren't documented but we can look at the implementation of the built-in filters and how to register them.
We might also want to look at #94 at the same time.
The text was updated successfully, but these errors were encountered:
Would it be easier to fix the vertical alignment of the logo in CSS?
max-80x80 would give an image that was (for example) 80 wide, and 20 high, and if the vertical alignment could be adjusted, it would save writing a whole new filter
Developers logos currently use the
![current](https://user-images.githubusercontent.com/6834938/35303278-1b12801c-00dd-11e8-9669-853c86c7c11f.png)
fill-80x80-c100
rule which crops non-square logos.Using
![max](https://user-images.githubusercontent.com/6834938/35303304-364e7ca0-00dd-11e8-8845-bd9f97d3de4a.png)
max-80x80
doesn't crop it but doesn't look great either (althougth might be a good first quick fix).We might need to write a custom filter which does the same as
max-80x80
but also centers the image horizontally and vertically. Custom filters aren't documented but we can look at the implementation of the built-in filters and how to register them.We might also want to look at #94 at the same time.
The text was updated successfully, but these errors were encountered: