Skip to content

Commit

Permalink
fix(style): code should should wrap line (#6831)
Browse files Browse the repository at this point in the history
* fix(style): code should should wrap line

this time in correct place

* revert(#6764): reverted wrongly placed css
  • Loading branch information
mathis-m committed Jan 14, 2021
1 parent 9568c90 commit 7087210
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/style/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,11 @@
overflow-y: auto;
max-height: 400px;
min-height: 6em;

code {
white-space: pre-wrap !important;
word-break: break-all;
}
}
}
.curl-command {
Expand Down Expand Up @@ -911,8 +916,7 @@ a.nostyle {
code {
background-color: #dedede;
padding: 4px 4px 2px;
white-space: pre-wrap;
word-break: break-all;
white-space: pre;
}
}
}
Expand Down

0 comments on commit 7087210

Please sign in to comment.