Skip to content

Conversation

tarabassir
Copy link

Motivation and context

#254

Screenshots

before after
before after

What I did

Added a span inside the div with id="sidebar-tree", and made it only visible when there is no picture available.

this.heritageTreeNumber = document.getElementById('sidebar-heritage-number');
this.heritageTreeNumber = document.getElementById('sidebar-heritage-number');
this.heritageTreeNumber = document.getElementById('sidebar-heritage-number');
this.heritageTreeNumber = document.getElementById('sidebar-heritage-number');
Copy link
Collaborator

Choose a reason for hiding this comment

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

what's changed here? I'm not quite sure why this.heritageTreeNumber = document.getElementById('sidebar-heritage-number'); appears twice in a row, but it was written that way before, too

Copy link
Author

Choose a reason for hiding this comment

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

I don't recall changing this part. Maybe I changed it by accident, it's not a part of my solution

@emillipede
Copy link
Collaborator

thank you @tarabassir !

until we design a placeholder that displays "no photos available" I'd like to use an icon as a placeholder. I'm sorry I didn't clarify it in the issue. I just added a noun project icon to the repo icons folder. could you please substitute this image for the current "no photos available" text?

thank you again!

@emillipede emillipede marked this pull request as draft April 17, 2020 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants