Permalink
Browse files

Fix code block white-space breaks within pre tags.

  • Loading branch information...
1 parent 306c1b4 commit f4466dd9c72da5604b1aa45c81d2d0e4cac3fad6 @tierra tierra committed Dec 6, 2012
Showing with 4 additions and 0 deletions.
  1. +2 −0 docs/assets/css/bootstrap.css
  2. +2 −0 less/code.less
@@ -993,6 +993,8 @@ pre.prettyprint {
pre code {
padding: 0;
color: inherit;
+ white-space: pre;
+ white-space: pre-wrap;
background-color: transparent;
border: 0;
}
View
@@ -47,6 +47,8 @@ pre {
code {
padding: 0;
color: inherit;
+ white-space: pre;
+ white-space: pre-wrap;
background-color: transparent;
border: 0;
}

0 comments on commit f4466dd

Please sign in to comment.