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

Optimized imgs for territories placeholders, fix #788 #789

Merged
merged 1 commit into from Feb 21, 2017
Merged

Optimized imgs for territories placeholders, fix #788 #789

merged 1 commit into from Feb 21, 2017

Conversation

davidbgk
Copy link
Member

See gouvfr counterpart: etalab/udata-gouvfr#158

<li class="search-result territory-result">
<a href="{{ territory.url }}" title="{{ territory.name }}">
<div class="result-logo pull-left">
<img alt="{{ territory.name }}"
src="{{ logo }}"
width="70" height="70">
width="64" height="70">
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the ratio working with all fetched logos ?

Copy link
Member Author

Choose a reason for hiding this comment

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

All logos have different sizes and the general case is the placeholder which matches blazons so I think it's a good trade off.

@noirbizarre
Copy link
Contributor

(Add a changelog entry before merge)

@davidbgk davidbgk merged commit 06068a1 into opendatateam:master Feb 21, 2017
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.

None yet

2 participants