mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-07-28 04:08:05 +00:00
move editor out of header
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@
|
||||
|
||||
.App-header {
|
||||
background-color: #282c34;
|
||||
min-height: 100vh;
|
||||
min-height: 25vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
||||
+7
-7
@@ -13,13 +13,6 @@ function App() {
|
||||
return (
|
||||
<div className="App">
|
||||
<header className="App-header">
|
||||
<AceEditor
|
||||
mode="python"
|
||||
theme="github"
|
||||
onChange={onChange}
|
||||
name="editor"
|
||||
editorProps={{ $blockScrolling: true }}
|
||||
/>
|
||||
<p>
|
||||
Edit <code>src/App.tsx</code> and save to reload.
|
||||
</p>
|
||||
@@ -32,6 +25,13 @@ function App() {
|
||||
Learn React
|
||||
</a>
|
||||
</header>
|
||||
<AceEditor
|
||||
mode="python"
|
||||
theme="github"
|
||||
onChange={onChange}
|
||||
name="editor"
|
||||
editorProps={{ $blockScrolling: true }}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user