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

Separate final comment row + add classes #1982

Merged
merged 1 commit into from
Jul 25, 2023

Conversation

djvs
Copy link
Contributor

@djvs djvs commented Jul 25, 2023

Description

Quick fix for the comment HTML setup. Changes it from two wrapping divs (header, comment/edit + footer) to three (header, comment/edit, footer) and adds accompanying classes.

Screenshots

No change afaict. Checked locally.

Before

After

@djvs
Copy link
Contributor Author

djvs commented Jul 25, 2023

This one's been bugging me for a bit, no way to generically deal with the entire contents of a comment in CSS or JS without also including the footer with buttons. Think I meant to include this in my classes PR a little while back.

)}
<div className="d-flex justify-content-between justify-content-lg-start flex-wrap text-muted fw-bold">
<>
<div className="comment-content">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the point of these classes, that you didn't add? Why not use bootstrap classes?

I also don't see the before / after images.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh nevermind this is for that weird styling thing people are trying to hack on to our bootstrap theme.

@dessalines dessalines merged commit d42aabb into LemmyNet:main Jul 25, 2023
dessalines pushed a commit that referenced this pull request Jul 25, 2023
@djvs djvs deleted the feat/component-classes-v3 branch July 25, 2023 20:17
@djvs
Copy link
Contributor Author

djvs commented Jul 25, 2023

Thanks!

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.

3 participants