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

Make voting tool sticky #933

Draft
wants to merge 3 commits into
base: develop
Choose a base branch
from
Draft

Conversation

MoshiKoi
Copy link
Member

@MoshiKoi MoshiKoi commented Jan 3, 2023

Somewhat old thing that I just came across: https://meta.codidact.com/posts/279092/279096#answer-279096

This makes the voting tools sticky, so it will remain visible even after scrolling.

image

A minor issue: Due to the way the page is laid out, it will in fact go past the article and into the comments section. (That being said, why is the comment section part of the post body?)

image

@ArtOfCode-
Copy link
Member

Question and a request: does this only sticky the widget within the post, or does it continue down the whole page? How does it work with multiple posts on the page?

And a request: I know some folks will love this, but personally I like my voting buttons in the same place every time - can we make this preference-controlled?

@MoshiKoi
Copy link
Member Author

MoshiKoi commented Jan 3, 2023

It's still bound to it's containing div, so it will only sticky the widget within the post's vertical region. It's just that the vertical region includes the commend section, which makes it a bit weird aesthetically.

And yeah, I think it'd be good to make it a preference 👍

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