Commit 46868863 authored by Mark Otto's avatar Mark Otto
Browse files

#1715: strip code of styles when in a pre

parent 7e81f84b
2 merge requests!1882[2.0.1-wip] black/dark button,!1894[2.0.1 wip] -- fixing Issue #1893 - removing hardcoded color border from <hr/>
Showing with 4 additions and 0 deletions
+4 -0
No preview for this file type
......@@ -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;
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment