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

Places App: Addressing ugly image "broken link" in Place Details #1304

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AleziaKurdis
Copy link
Contributor

This PR addresses the ugly image "broken link" in Place Details.

If for any reason the places thumbnail went not available,
it was displaying a broken image in the Place Detail (cause it was using an "img" element)

image

To fix this I simply replace the "img" element by a div element with a backgroundImage property.
Which doesn't output a broken image but instead render no image:

image

Address ugly image broken link in Place Details
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