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

fix: Only post title should be inside h5, not the additional metadata icons #1353

Merged
merged 5 commits into from
Jun 18, 2023

Conversation

jsit
Copy link
Contributor

@jsit jsit commented Jun 17, 2023

The "featured", "deleted" etc icons were being displayed inside the <h5> of the post title; this is incorrect, as these aren't part of the title. This changes that.

I also simplified some logic around showing postLink.

Before

Screenshot 2023-06-17 at 12 34 21 PM

After

Screenshot 2023-06-17 at 12 33 57 PM

The featured pin icons will also now display on the same line as the post title text, even if it wraps.

Before

Screenshot 2023-06-18 at 12 43 00 AM

After

Screenshot 2023-06-18 at 12 42 12 AM

@SleeplessOne1917 SleeplessOne1917 merged commit b17be67 into LemmyNet:main Jun 18, 2023
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

Successfully merging this pull request may close these issues.

2 participants