Browse Source

fix(style): preventing long strings from overflowing (#5934) (#6507)

bubble
Francesco Franchina 3 years ago
committed by GitHub
parent
commit
4b2fddd8ed
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/style/_markdown.scss

+ 3
- 1
src/style/_markdown.scss View File

@@ -1,6 +1,9 @@
.markdown, .renderedMarkdown {
p, pre {
margin: 1em auto;

word-break: break-all; /* Fallback trick */
word-break: break-word;
}
pre {
color: black;
@@ -8,7 +11,6 @@
white-space: pre-wrap;
background: none;
padding: 0px;
overflow-wrap: break-word;
}

code {


Loading…
Cancel
Save