word-break: break-all; does not work well with English
See original GitHub issueExample below. word-break: break-all;
in .memo-content-text
does not work well with English words, as it will cut off words.
Currently using a Chrome extension to change the CSS client-side.
(Notice the end of the lines being cut off in the first picture)
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:6 (6 by maintainers)
Top Results From Across the Web
word-wrap break-word does not work in this example
Word-Break has nothing to do with inline-block . Make sure you specify width and notice if there are any overriding attributes in parent...
Read more >word-break - CSS: Cascading Style Sheets - MDN Web Docs
The word-break CSS property sets whether line breaks appear wherever the text would otherwise overflow its content box.
Read more >wrap, overflow - wrap - , and - word - break - LogRocket Blog
Using break-all will break a word between two characters at the exact point where an overflow would occur in English and other related...
Read more >word-break - CSS-Tricks
The word-break property in CSS can be used to change when line breaks ought to occur. Normally, line breaks in text can only...
Read more >What is the difference between “word-break: break-all” versus ...
The “word-break: break-all;” will break the word at any character so the result is to difficulty in reading whereas “word-wrap: break-word;” ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@boojack Thank you for the fast commit! This is an awesome project 😄
… I feel dumb now haha. Didn’t even notice that 😅 Thank you both.
@limdingwen Thanks for your nice hint, the
break-all
change in commit: https://github.com/usememos/memos/commit/10d710cf03d2423434971cb0dc2d9eeb0ce04cc5 might be a mistake. It should bebreak-words
at all. So it would be a pleasure to have your PR.