Skip to content

Commit b00b29e

Browse files
committed
chore: replace deprecated word-break: break-word with overflow-wrap: break-word
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
1 parent 49b885f commit b00b29e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/NcRichContenteditable/NcRichContenteditable.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,7 @@ export default {
10171017
padding-inline: var(--contenteditable-inline-start-offset) var(--contenteditable-inline-end-offset);
10181018
cursor: text;
10191019
white-space: pre-wrap;
1020-
word-break: break-word;
1020+
overflow-wrap: break-word;
10211021
color: var(--color-main-text);
10221022
border: 2px solid var(--color-border-maxcontrast);
10231023
border-radius: var(--border-radius-large);

src/components/NcRichText/NcRichText.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ export default {
575575
576576
// Plain text styles
577577
.rich-text--wrapper {
578-
word-break: break-word;
578+
overflow-wrap: break-word;
579579
line-height: 1.5;
580580
581581
.rich-text--fallback, .rich-text-component {

0 commit comments

Comments
 (0)