Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
46868863
Commit
46868863
authored
Feb 04, 2012
by
Mark Otto
Browse files
Options
Browse Files
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
with
4 additions
and
0 deletions
+4
-0
docs/assets/bootstrap.zip
docs/assets/bootstrap.zip
+0
-0
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+2
-0
less/code.less
less/code.less
+2
-0
No files found.
docs/assets/bootstrap.zip
View file @
46868863
No preview for this file type
docs/assets/css/bootstrap.css
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
;
...
...
less/code.less
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;
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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