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

Minimum height for collapse posts #2483

Open
narFnarF opened this issue Nov 26, 2023 · 3 comments
Open

Minimum height for collapse posts #2483

narFnarF opened this issue Nov 26, 2023 · 3 comments

Comments

@narFnarF
Copy link

Pitch

Collapsed posts should have a minimum height that matches the maximum height.

In other words, if I set my maximum height to 400px, a post that is 999px high should be collapsed to 400px (instead of whatever tiny size they are resized to now)

Motivation

Collapsed posts are useful for when a post is extremely long, but it doesn't mean I want it to have less visibility than the maximum I'm willing to tolerate.

Currently, collapsed posts are barely visible in the timeline because they are reduced to just 1 line of text.

@yurkobb
Copy link

yurkobb commented Apr 25, 2024

if I set my maximum height to 400px

Where is this maximum height configured? Is this per-user or per-instance?

@yurkobb
Copy link

yurkobb commented Apr 25, 2024

if I set my maximum height to 400px

Where is this maximum height configured? Is this per-user or per-instance?

Okay, it's per-user (in the app settings).

The content height of a collapsed toot is hardcoded to 20px. Increasing that to something like 12rem helps, but there is also a gradient on top running over the whole toot, which makes it still not very readable. Probably the gradient should be changed to a fixed height from the bottom to only cover the last line or so.

yurkobb added a commit to yurkobb/mastodon-glitch that referenced this issue May 5, 2024
yurkobb added a commit to yurkobb/mastodon-glitch that referenced this issue May 5, 2024
@valentijnscholten
Copy link

+1 to change to higher collapsed tweets. Currently even the first line is not readable "forcing" me to uncollapse every toot to see what's in there.

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

No branches or pull requests

3 participants