Adjust the post-voting button to the bottom

AI-generated summary

The discussion is about a theme component called discourse-post-voting-mobile-fix that adjusts the post-voting button to the bottom, available on GitHub. Lhc_fl introduced the component, and hoangphuctran93 appreciated it, saying it makes their mobile interface look cleaner. However, kuaza reported a distortion issue when clicking on the sorting section, which Lhc_fl tried to reproduce but failed. After kuaza provided a test link, Lhc_fl pushed a fix, and kuaza confirmed it worked. Later, kuaza suggested updating the component due to upcoming post menu changes, and Lhc_fl planned to update it. A temporary fix was applied by Lhc_fl, with further fixes pending a Discourse upgrade. Kuaza thanked Lhc_fl for their support.

:information_source: Summary Adjust the post-voting button to the bottom
:hammer_and_wrench: Repository GitHub - Lhcfl/discourse-post-voting-mobile-fix · GitHub
:question: Install Guide How to install a theme or theme component
:open_book: New to Discourse Themes? Beginner’s guide to using Discourse Themes

Install this theme component

As shown in the figure, this theme component has only one function: adjust the post-voting button to the bottom.

8 Likes

Thank you, this is a great theme-component, it makes my mobile interface look much cleaner.

4 Likes

Thank you for this module, it is very necessary for mobile. However, when I click on the sorting section, its shape is distorted. What can be done about it?

1 Like

I encountered this problem early in the release, and suffered from no way to reproduce it stably. I tried the method you gave, but failed to reproduce.

1 Like

Only problem is mobile, desktop version is fine.

You can test it here. Maybe it’s because of a plugin I’m using.

Thank you for your help. I pushed a fix, it should work.

1 Like

it works great, thanks for the support so fast.

Is there a chance to update this component? Or I suggest adding a mobile view to the plugin itself. On mobile, having the voting on the left makes the screen smaller, it makes more sense to have it on the bottom or top. Thanks.

yeah I was planning to update it today :slightly_smiling_face:

2 Likes

I fixed it temporarily, further fixes will need to wait for discourse-post-voting upgrade.

4 Likes

thank you very much, you are the best :slight_smile: