0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Merge pull request #6151 from tierra/pre-code-white-space-fix

Fix code block white-space breaks within pre tags.
This commit is contained in:
Mark Otto 2012-12-07 09:48:14 -08:00
commit 1413f976ae
2 changed files with 4 additions and 0 deletions

View File

@ -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 File

@ -47,6 +47,8 @@ pre {
code {
padding: 0;
color: inherit;
white-space: pre;
white-space: pre-wrap;
background-color: transparent;
border: 0;
}