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
46868863
Commit
46868863
authored
13 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
#1715
: strip code of styles when in a pre
parent
7e81f84b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/assets/bootstrap.zip
+0
-0
docs/assets/bootstrap.zip
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/bootstrap.zip
+
0
-
0
View file @
46868863
No preview for this file type
This diff is collapsed.
Click to expand it.
docs/assets/css/bootstrap.css
+
2
-
0
View file @
46868863
...
@@ -494,7 +494,9 @@ pre.prettyprint {
...
@@ -494,7 +494,9 @@ pre.prettyprint {
}
}
pre
code
{
pre
code
{
padding
:
0
;
padding
:
0
;
color
:
inherit
;
background-color
:
transparent
;
background-color
:
transparent
;
border
:
0
;
}
}
form
{
form
{
margin
:
0
0
18px
;
margin
:
0
0
18px
;
...
...
This diff is collapsed.
Click to expand it.
less/code.less
+
2
-
0
View file @
46868863
...
@@ -39,6 +39,8 @@ pre {
...
@@ -39,6 +39,8 @@ pre {
// Account for some code outputs that place code tags in pre tags
// Account for some code outputs that place code tags in pre tags
code {
code {
padding: 0;
padding: 0;
color: inherit;
background-color: transparent;
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