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

FR: trim in-profile collection descriptions to first line/paragraph #1650

Open
YellowAfterlife opened this issue Sep 4, 2024 · 0 comments
Open

Comments

@YellowAfterlife
Copy link

Is your feature request related to a problem? Please describe.

Suppose I have a collection description:
image
Very nice.

However, on profile pages these are shown as single-line plaintext snip, which is slightly less nice:
image

And since it's plaintext, I can't really fix this with custom CSS either

Describe the solution you'd like

Only show the plaintext of the collection description up to the end of first paragraph (or until the first BR).

Describe alternatives you've considered

Doing this at the moment:

.collection_row[data-collection_id="4749242"] .collection_description {
font-size: 0;
}
.collection_row[data-collection_id="4749242"] .collection_description:before {
content: "These let you do various cool/useful things on Windows! (and, sometimes, other platforms)";
font-size: 1rem;
}

Additional context
No particular rush

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant