mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
#1715: strip code of styles when in a pre
This commit is contained in:
parent
7e81f84b29
commit
468688638d
3 changed files with 4 additions and 0 deletions
Binary file not shown.
2
docs/assets/css/bootstrap.css
vendored
2
docs/assets/css/bootstrap.css
vendored
|
@ -494,7 +494,9 @@ pre.prettyprint {
|
|||
}
|
||||
pre code {
|
||||
padding: 0;
|
||||
color: inherit;
|
||||
background-color: transparent;
|
||||
border: 0;
|
||||
}
|
||||
form {
|
||||
margin: 0 0 18px;
|
||||
|
|
|
@ -39,6 +39,8 @@ pre {
|
|||
// Account for some code outputs that place code tags in pre tags
|
||||
code {
|
||||
padding: 0;
|
||||
color: inherit;
|
||||
background-color: transparent;
|
||||
border: 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue