Skip to content

Commit 645b2e4

Browse files
maximou4391mandre
andauthored
fix(client): prevent word breaking in ShikiEditor (#2448)
Co-authored-by: mandre <[email protected]>
1 parent 3a8351a commit 645b2e4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/client/internals/ShikiEditor.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ textarea {
4343
font-variation-settings: normal;
4444
font-size: 1em;
4545
text-wrap: wrap;
46-
word-break: break-all;
46+
word-break: normal;
47+
overflow-wrap: break-word;
4748
display: block;
4849
width: 100%;
4950
}

0 commit comments

Comments
 (0)