this post was submitted on 18 Jun 2023
25 points (100.0% liked)

/kbin meta

63 readers
1 users here now

Magazine dedicated to discussions about the kbin itself. Provide feedback, ask questions, suggest improvements, and engage in conversations related to the platform organization, policies, features, and community dynamics. ---- * Roadmap 2023 * m/kbinDevlog * m/kbinDesign

founded 2 years ago
 

Download it from greasyfork

This userscript for kbin enhances the comment section adjusting the layout and adding a line to the left of each comment and its replies that lets you collapse them. The design is inspired by some custom subreddit stylesheets, and new reddit surprisingly enough (you know what they say about broken clocks).

Personally, I think this is the best way to handle collapsing comments here's a screenshot.

A video of it in action

If you don't have a userscript manager extension installed, you can install Tampermonkey, and then open the greasyfork link above.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 2 years ago (1 children)

Thanks, I'm glad to hear you like it!

Good call about the padding, I'll add that back in the next update. For now, you can edit the script, and add this to line 150, after styles.innerHTML =

.comments div {
    border-left: none !important;
}
.entry-comment .children {
    gap: 8px;
}
.comment-level--1 {
    margin-bottom: 8px;
}

[–] [email protected] 1 points 2 years ago (1 children)
[–] [email protected] 2 points 2 years ago

I just released an update that adds the padding back and has a few other improvements