diff options
author | Bryan Petty <bryan@ibaku.net> | 2012-12-06 22:33:00 +0400 |
---|---|---|
committer | Bryan Petty <bryan@ibaku.net> | 2012-12-06 22:33:00 +0400 |
commit | f4466dd9c72da5604b1aa45c81d2d0e4cac3fad6 (patch) | |
tree | 44f49915957b9350991f5602887d79a188d1be39 | |
parent | 306c1b49147c388b7c458a939989bf33d464a69d (diff) |
Fix code block white-space breaks within pre tags.
-rw-r--r-- | docs/assets/css/bootstrap.css | 2 | ||||
-rw-r--r-- | less/code.less | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 5ed924b9be..9c0e998440 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -993,6 +993,8 @@ pre.prettyprint { pre code { padding: 0; color: inherit; + white-space: pre; + white-space: pre-wrap; background-color: transparent; border: 0; } diff --git a/less/code.less b/less/code.less index ea1e749ae2..266a926e73 100644 --- a/less/code.less +++ b/less/code.less @@ -47,6 +47,8 @@ pre { code { padding: 0; color: inherit; + white-space: pre; + white-space: pre-wrap; background-color: transparent; border: 0; } |