Projects' titles are cut off in user profile

Something weird is happen with projects’ page now. Almost every title is shrinked and there is no other way to understand what’s project it is but trying to guess by avatar or open the project page.
The most annoying thing is there is enough place to show full title.

Look to the screenshot. I have not so many projects but nevertheless I have a few doubles, as well as tees with neutered strings. 17 letters is obviously not enought for project name. It is Ok if long string will be wrapped.

Platform (Android, iOS, Website): Website

Browser, if a website issue (Firefox, Chrome, etc) : Any

URLs (aka web addresses) of any relevant observations or pages: https://www.inaturalist.org/projects/user/kildor

Screenshots of what you are seeing (instructions for taking a screenshot on computers and mobile devices: https://www.take-a-screenshot.org/):

Description of problem (please provide a set of steps we can use to replicate the issue, and make as many as you need.):

Step 1: Open the page with user projects.

Step 2: Try to find some project by its name

Step 3: Look to the same names of the projects because of shrinking.

3 Likes

UPD:
I’ve looked through the github and find the problem place.
https://github.com/inaturalist/inaturalist/blob/205f37774f07a9a691c36d7bd24b3ddba1b8ff97/app/views/projects/_project_by_login.html.haml#L7.
%h4= link_to truncate( strip_tags( project.title ), length: 20 )
Also 60 symbols for project description is not enough,
= h truncate( strip_tags( project.description ), length: 60 )

@loarie, as author of the commit, could you do something with it?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.