Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Lines should break between words #8

Open
VFDan opened this issue Apr 22, 2021 · 2 comments
Open

Lines should break between words #8

VFDan opened this issue Apr 22, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@VFDan
Copy link

VFDan commented Apr 22, 2021

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
image

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
@VFDan VFDan added the bug Something isn't working label Apr 22, 2021
@Ascor8522
Copy link

.bd-codeblock-table td:last-child {
padding-left: 8px;
word-break: break-all;
}

should be

.bd-codeblock-table td:last-child { 
    padding-left: 8px; 
    word-break: break-word;
} 

@Glaived
Copy link

Glaived commented Nov 12, 2021

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;
} 

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants