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

/kbin meta

200 readers
2 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 1 year 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
[–] McBinary@kbin.social 4 points 1 year ago (1 children)

This is SO much better than the default thread view, I love it. Thank you!

One tiny nitpick though, is there any way I can add back in the small padding between user comments to keep each comment chain separate? Right now it looks like one big comment chain.

[–] artillect@kbin.social 3 points 1 year 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;
}

[–] McBinary@kbin.social 1 points 1 year ago (1 children)
[–] artillect@kbin.social 2 points 1 year ago

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