Lors de la visite d’un message dans un sujet avec vote, si le premier message n’est pas chargé, par exemple /t/topic/2/10, le style du plugin n’a pas été chargé, ce qui a provoqué un chevauchement du bouton de vote avec le texte du message en vue mobile.
Cet engagement modifie le connecteur en topic-above-posts au lieu de topic-above-posts-stream, afin que le style soit chargé correctement.
Des spécifications ont également été ajoutées pour éviter toute régression.
main ← small-lovely-cat:fix-mobile-post-vote
opened 12:17PM - 12 Oct 26 UTC
When visiting a post under a post-voting topic, and the first post is not loaded… , say, `/t/topic/2/10`, the style of the plugin failed to load, causing the voting button to overlap with the post text in mobile view.
<img width="510" height="220" alt="image" src="https://github.com/user-attachments/assets/0b59e64c-3047-4032-af8d-613b9196999f" />
This commit change the connector to `topic-above-posts` instead of `topic-above-posts-stream`, so that the style is loaded normally.
Also added some spec to avoid regression.