Skip to content

Commit

Permalink
Wrap lines in <pre> without overflowing the viewport.
Browse files Browse the repository at this point in the history
Closes knadh#359.
  • Loading branch information
knadh committed May 18, 2021
1 parent 95a81d1 commit 9f2e708
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions frontend/src/assets/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ ul.no {
position: relative;
}

.content pre {
white-space: pre-wrap;
}

section {
&.wrap {
max-width: 1100px;
Expand All @@ -65,6 +69,7 @@ section {
max-width: 900px;
}
}

.spinner.is-tiny {
display: inline-block;
height: 10px;
Expand Down

0 comments on commit 9f2e708

Please sign in to comment.