Skip to content

ui: fix forum message content overflow#20069

Merged
ornicar merged 1 commit intolichess-org:masterfrom
Simek:ui-fix-forum-message-content-overflow
Mar 23, 2026
Merged

ui: fix forum message content overflow#20069
ornicar merged 1 commit intolichess-org:masterfrom
Simek:ui-fix-forum-message-content-overflow

Conversation

@Simek
Copy link
Contributor

@Simek Simek commented Mar 22, 2026

Why

Very long character chain can cause forum message content overflow, i.e.:

⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻⸻

Fixes #20064

How

Add overflow-wrap: anywhere property to the post message content paragraphs. It should not break the regular words unless their width spans over device viewport, but will correctly break long chains of characters.

Preview (before/after)

Screenshot 2026-03-22 at 11 57 45 Screenshot 2026-03-22 at 11 58 51

@ornicar ornicar merged commit a2c89ac into lichess-org:master Mar 23, 2026
7 checks passed
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.

Forum post overflow on mobile

2 participants