Merge pull request #5123 from vipulnsward/fix-html-jsx-page

- Bring back JSX compiler styling still being used on HTML JSX page
(cherry picked from commit 0b21632f8e)
This commit is contained in:
Paul O’Shannessy
2015-10-10 19:26:52 -07:00
parent 13f3cdeeb1
commit e4300d951c
+32
View File
@@ -390,6 +390,38 @@ h1, h2, h3, h4, h5, h6 {
@include clearfix;
}
/* JSX Compiler */
.jsxCompiler {
margin: 0 auto;
padding-top: 20px;
width: 1220px;
label.compiler-option {
display: block;
margin-top: 5px;
}
#jsxCompiler {
margin-top: 20px;
}
.playgroundPreview {
padding: 0;
width: 600px;
pre {
@include code-typography;
}
}
.playgroundError {
// The compiler view kills padding in order to render the CodeMirror code
// more nicely. For the error view, put a padding back
padding: 15px 20px;
}
}
.docs-prev {
float: left;
}