From c63b65af02104201a7d3a138bcc23123d6e10631 Mon Sep 17 00:00:00 2001 From: Vipul A M Date: Sat, 10 Oct 2015 13:53:26 -0400 Subject: [PATCH] - Bring back JSX compiler styling still being used on HTML JSX page Fixes [#5121] --- css/react.scss | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/css/react.scss b/css/react.scss index 3400c9af..237c4308 100644 --- a/css/react.scss +++ b/css/react.scss @@ -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; }