Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <markdotto@gmail.com>2012-12-07 21:48:14 +0400
committerMark Otto <markdotto@gmail.com>2012-12-07 21:48:14 +0400
commit1413f976ae2693572aebfb30c5e3790142eec30c (patch)
tree9989fdc24d04b3186ddbabd0afdb810e14f7a28c /less
parentcc6fda226274c0b0e1ac27fdf36889cec9d352dc (diff)
parentf4466dd9c72da5604b1aa45c81d2d0e4cac3fad6 (diff)
Merge pull request #6151 from tierra/pre-code-white-space-fix
Fix code block white-space breaks within pre tags.
Diffstat (limited to 'less')
-rw-r--r--less/code.less2
1 files changed, 2 insertions, 0 deletions
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;
}