Merge pull request #281 from amiaopensource/rm-breakall

lifts the break-all and sets a max-width on code for long lines
This commit is contained in:
Ashley 2017-11-30 16:52:15 -05:00 committed by GitHub
commit ced142a215
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,6 +44,9 @@ html, body {
"content" "content"
"footer"; "footer";
} }
code {
word-break: break-all;
}
} }
@media only screen and (min-width: 1000px) { @media only screen and (min-width: 1000px) {
@ -118,8 +121,8 @@ code {
color: #c7254e; color: #c7254e;
background-color: #f9f2f4; background-color: #f9f2f4;
border-radius: 4px; border-radius: 4px;
word-break: break-all;
word-wrap: break-word; word-wrap: break-word;
max-width: 800px;
white-space: normal; white-space: normal;
display: inline-block; display: inline-block;
} }