Skip to content

Commit

Permalink
Merge pull request #674 from rodrigogs/master
Browse files Browse the repository at this point in the history
Issue #616 - Fixed multiline code block overflow
  • Loading branch information
rodrigok committed Sep 3, 2015
2 parents 9c74e23 + 14e78ec commit eed855d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions client/stylesheets/base.less
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ code {
font-size: 13px;
font-weight: bold;
margin: 5px 0;
overflow-x: auto;
padding: 0.5em;
vertical-align: middle;
word-wrap: break-word;
text-align: left;
white-space: pre-wrap;
&.inline {
display: inline-block;
padding: 0 5px;
Expand All @@ -57,6 +57,10 @@ code {
}
}

code.hljs {
overflow-y: hidden;
}

pre {
display: inline-block;
width: 100%;
Expand Down Expand Up @@ -1903,7 +1907,7 @@ a.github-fork {
.page-settings {
.rocket-form {
max-width: none;
width: 100%;
width: 100%;
padding: 0;
}
}
Expand Down

0 comments on commit eed855d

Please sign in to comment.