Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
1413f976
Commit
1413f976
authored
12 years ago
by
Mark Otto
Browse files
Options
Download
Plain Diff
Merge pull request #6151 from tierra/pre-code-white-space-fix
Fix code block white-space breaks within pre tags.
parents
cc6fda22
f4466dd9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/assets/css/bootstrap.css
+2
-0
docs/assets/css/bootstrap.css
less/code.less
+2
-0
less/code.less
with
4 additions
and
0 deletions
+4
-0
docs/assets/css/bootstrap.css
+
2
-
0
View file @
1413f976
...
...
@@ -993,6 +993,8 @@ pre.prettyprint {
pre
code
{
padding
:
0
;
color
:
inherit
;
white-space
:
pre
;
white-space
:
pre-wrap
;
background-color
:
transparent
;
border
:
0
;
}
...
...
This diff is collapsed.
Click to expand it.
less/code.less
+
2
-
0
View file @
1413f976
...
...
@@ -47,6 +47,8 @@ pre {
code {
padding: 0;
color: inherit;
white-space: pre;
white-space: pre-wrap;
background-color: transparent;
border: 0;
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment