Skip to content

Commit

Permalink
fix(style): preventing long strings from overflowing (#5934) (#6507)
Browse files Browse the repository at this point in the history
  • Loading branch information
ffranchina committed Oct 15, 2020
1 parent 1af8678 commit 4b2fddd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/style/_markdown.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
.markdown, .renderedMarkdown {
p, pre {
margin: 1em auto;

word-break: break-all; /* Fallback trick */
word-break: break-word;
}
pre {
color: black;
font-weight: normal;
white-space: pre-wrap;
background: none;
padding: 0px;
overflow-wrap: break-word;
}

code {
Expand Down

0 comments on commit 4b2fddd

Please sign in to comment.