Poll option list items had no layout container, allowing @mentionmention pills to overlap the option marker or checkbox.
This change makes poll options flex rows so marker and content are always laid out side by side.
CSS only, no behavior or markup changes.
Repro:
Create a poll with options that i@mentionsclude @mentions (mention pills).
In the cooked topic view, the option marker/checkbox can overlap the mention pill.
Fix:
Make poll option list items a flex row so the marker/checkbox and the option content
are laid out side by side with consistent spacing.
Screenshots show the overlap before the change.
Poll before, preview ok:
Poll with glitch:
After Fix:
PR:
main ← fix/poll-option-mention-overlap
opened 07:54AM - 08 Feb 26 UTC
Poll option list items had no layout container, allowing @mention pills to overl… ap the option marker or checkbox.
This change makes poll options flex rows so marker and content are always laid out side by side.
CSS only, no behavior or markup changes.
Repro:
Create a poll with options that include @mentions (mention pills).
In the cooked topic view, the option marker/checkbox can overlap the mention pill.
Fix:
Make poll option list items a flex row so the marker/checkbox and the option content
are laid out side by side with consistent spacing.
Screenshots show the overlap before the change.
<img width="1475" height="575" alt="Screenshot 2026-02-08 093307" src="https://github.com/user-attachments/assets/e21d3fa3-946c-4325-9303-07b90744dea5" />
<img width="791" height="743" alt="Screenshot 2026-02-08 093403" src="https://github.com/user-attachments/assets/b7d609c0-8289-413d-b361-45c3972a7d14" />
<img width="839" height="832" alt="image" src="https://github.com/user-attachments/assets/5eb9634c-c55e-4f99-a8e4-3371abef4ce2" />
Code to Reproduce:
Checkbox @Richardeehavior Ok
[ ] @Richarde
[ ] @discobot
# Polls glitch when mention pills are used @Richarde @ANNA but not in preview
[poll type=multiple results=on_close name=glitchMentionPills chartType=bar close=2028-02-06T21:45:00.000CET groups=mitglieder max=4 min=1]
* @ANNA
* @Alice
* @Andre
* [date=2026-02-12 time=17:00:00 timezone=Europe/Berlin]
* [date=2026-02-13 time=18:00:00 timezone=Europe/Berlin]
* normale Text
* 2nd no@ANNAmal TextOption
[/poll]
Checkbox @Richardeehavior Ok
@Richarde
@discobot
Polls glitch when mention pills are used @Richarde @ANNA but not in preview
@ANNA
@Alice
@Andre
2026-02-12T16:00:00Z
2026-02-13T17:00:00Z
normale Text
2nd no@ANNAmal TextOption
1 Like