Skip to content

Commit

Permalink
fix: apply word-break for code tags
Browse files Browse the repository at this point in the history
  • Loading branch information
procopio420 authored and nossila committed Jul 14, 2021
1 parent 6693830 commit 20efc9c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ui-react/src/graphgists/GraphGistPage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,10 @@ div.visualization > svg {
text-transform: uppercase;
}

#preamble, code {
word-break: break-word;
}

#gist-body.cached {
.console,
.show-console-toggle {
Expand Down Expand Up @@ -360,9 +364,7 @@ pre {
font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
direction: ltr;
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
word-wrap: normal;
line-height: 1.5;

Expand Down

0 comments on commit 20efc9c

Please sign in to comment.