mastodon / mastodon

Your self-hosted, globally interconnected microblogging community
https://joinmastodon.org
GNU Affero General Public License v3.0
47.01k stars 6.96k forks source link

Add hover text for trending tags #20870

Open Andre601 opened 1 year ago

Andre601 commented 1 year ago

Pitch

The "X people in the past days" should have a title, so that when you hover over it, it displays the full text.

Motivation

Right now, the text may be cut off if you're using a language that is more... "exhaustive" or smth. In such cases (like with german) will this cause the issue that you can't read the full text as it will be displayed with three dots at the end, cutting of the remaining parts.

Since the text doesn't have any hover is this causing issues as you can't tell what the full text may be. Sure, it's always the same text, but in the end is it still not good to cut it off without having a way to see the full text that isn't "Right click -> 'inspect element'".

Image showing the issue: grafik

palewire commented 1 year ago

I've proposed a fix in #21149 that solves the problem simply by removing the overflow. When the language runs longer, it will simply run longer.