Skip to content

Commit 4b2fddd

Browse files
authored
fix(style): preventing long strings from overflowing (#5934) (#6507)
1 parent 1af8678 commit 4b2fddd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/style/_markdown.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
.markdown, .renderedMarkdown {
22
p, pre {
33
margin: 1em auto;
4+
5+
word-break: break-all; /* Fallback trick */
6+
word-break: break-word;
47
}
58
pre {
69
color: black;
710
font-weight: normal;
811
white-space: pre-wrap;
912
background: none;
1013
padding: 0px;
11-
overflow-wrap: break-word;
1214
}
1315

1416
code {

0 commit comments

Comments
 (0)