Skip to content

Commit

Permalink
Merge pull request twbs#6151 from tierra/pre-code-white-space-fix
Browse files Browse the repository at this point in the history
Fix code block white-space breaks within pre tags.
  • Loading branch information
mdo committed Dec 7, 2012
2 parents cc6fda2 + f4466dd commit 1413f97
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/assets/css/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -993,6 +993,8 @@ pre.prettyprint {
pre code {
padding: 0;
color: inherit;
white-space: pre;
white-space: pre-wrap;
background-color: transparent;
border: 0;
}
Expand Down
2 changes: 2 additions & 0 deletions less/code.less
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ pre {
code {
padding: 0;
color: inherit;
white-space: pre;
white-space: pre-wrap;
background-color: transparent;
border: 0;
}
Expand Down

0 comments on commit 1413f97

Please sign in to comment.