TeamDignitas / dignitas

Software for a collaborative fact checking website.
https://dignitas.ro/
GNU Affero General Public License v3.0
9 stars 1 forks source link

Add generic photo for a contributor's profile #296

Closed sandriu closed 2 years ago

sandriu commented 2 years ago

If a contributor doesn't use a profile photo on his/her profile page, then a generic photo should be used. Below is the case of a contributor with no profile photo, and the accuracy tag is displayed too high: dignitas-ss-contributor-without-photo

CatalinFrancu commented 2 years ago

I used the 'person' icon from material icons. Feel free to adjust it further!

sandriu commented 2 years ago

As stated here, the username appears capitalised because there's this style applied h1::first-letter { text-transform: capitalize; } (which makes sense if the page name translation does not take into account the capitalisation). So we need an exception from this style.