Permalink
Please sign in to comment.
Browse files
Tabbed Editor and Custom Code Mirror sizes implemented. Misc tab has …
…the odd behaviour of having all the un-rendered code mirrors instead of the ones that aren't defined in the layout. These should be avoided as they won't update the seed data on a save. Also added a nice font to the other elements
- Loading branch information...
Showing
with
157 additions
and 53 deletions.
- +73 −4 src/Components/Editor.js
- +66 −49 src/Components/GrandCentralStation.js
- +17 −0 src/style.css
- +1 −0 views/layout.jade
77
src/Components/Editor.js
115
src/Components/GrandCentralStation.js
17
src/style.css
| @@ -0,0 +1,17 @@ | ||
| +body { | ||
| + font-family: 'Ubuntu'; | ||
| +} | ||
| + | ||
| +.selectors { | ||
| + display: flex; | ||
| + width: 100%; | ||
| +} | ||
| + | ||
| +.selectors > .tabSelector { | ||
| + flex: 1 0 auto; | ||
| + background-color: rgb(51, 51, 51); | ||
| + color: white; | ||
| + text-align: center; | ||
| + margin: 4px; | ||
| + padding: 4px; | ||
| +} |
1
views/layout.jade
0 comments on commit
ea26946