Skip to content

Commit

Permalink
Merge pull request #5123 from vipulnsward/fix-html-jsx-page
Browse files Browse the repository at this point in the history
- Bring back JSX compiler styling still being used on HTML JSX page
(cherry picked from commit 0b21632)
  • Loading branch information
zpao committed Oct 11, 2015
1 parent 13f3cde commit e4300d9
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions docs/css/react.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit e4300d9

Please sign in to comment.