Closed deepspaceaxolotl closed 2 years ago
Additionally, long words do not wrap like unspoilered text does, stretching the preview pane and making it scrollable.
Additionally, long words do not wrap like unspoilered text does, stretching the preview pane and making it scrollable.
It seems that the long words problem can be solved in CCS with overflow-wrap: anywhere;
, yet I am unsure if this may cause new problems.
As for the multi-line (in-line) spoilers I would need to look additionally in the code to see where the problem is.
New update fixed the issue, works perfectly now! :D I'll close if that's all right, thank you!
When wrapping multiple lines of text in spoilers, I would expect it to be completely inline with any text outside of that spoiler. Instead, it renders as a block and text that comes before or after the spoilered text is rendered to the left or right of the block, as well as appearing in its own row if it overflows. For example:
Expected behavior (second paragraph is when spoilers are clicked):
How it works at the moment: