bd-contributions
bd-contributions copied to clipboard
Lines should break between words
A clear description of the issue Line breaks currently can happen in the middle of a word if the lines are too long. This can look ugly and breaks the reader's flow. Lines should break between words so the flow is undisturbed.
Screenshots
Additional info
- Codeblock language, if any: Shouldn't matter, but testing with none
- Discord build & version: Stable 82866 (d02d7ca)
- Platform: Windows 10 64-Bit (10.0.18362)
- Plugin version: 1.2.0
https://github.com/xiBread/bd-contributions/blob/1be95b118ae78f3f46941df24c68403de9533e86/BetterCodeblocks/BetterCodeblocks.plugin.js#L441-L444
should be
.bd-codeblock-table td:last-child {
padding-left: 8px;
word-break: break-word;
}
thank you @Ascor8522
To fix the problem via a temporary solution, using CSS injection:
.bd-codeblock-table td:last-child {
word-break: break-word !important;
}