diff --git a/client/src/components/CodeSandbox/CodeSandbox.css b/client/src/components/CodeSandbox/CodeSandbox.css new file mode 100644 index 0000000..5651462 --- /dev/null +++ b/client/src/components/CodeSandbox/CodeSandbox.css @@ -0,0 +1,32 @@ +.column { + margin: auto; + font-family: "Rubik", sans-serif; + font-size: 1.2rem; + color: #333; +} + +.field { + display: inline-block; + text-align: center; + width:30%; + margin-bottom: 10px; +} + +select { + font-family: "Rubik", sans-serif; + font-size: 1.1rem; + +} + +.ace_editor { + width: 100%; +} + +.ace_content { + width: 100%; +} + +.editor { + width: 100%; +} + diff --git a/client/src/components/CodeSandbox/CodeSandbox.js b/client/src/components/CodeSandbox/CodeSandbox.js index 218b1b6..1fc402f 100644 --- a/client/src/components/CodeSandbox/CodeSandbox.js +++ b/client/src/components/CodeSandbox/CodeSandbox.js @@ -2,6 +2,7 @@ import React, { Component } from "react"; import { render } from "react-dom"; import brace from "brace"; import AceEditor from "react-ace"; +import "./CodeSandbox.css" import "brace/mode/jsx"; import "brace/mode/javascript"; @@ -123,7 +124,7 @@ class CodeSandbox extends Component {