Minor windowTitle positioning change

main
Jake Dexheimer 7 years ago
parent 4c86468e50
commit f28d80c250

@ -109,7 +109,12 @@ class Carbon extends React.Component {
if (this.state.loading === false) {
content = (
<div id="container">
{config.windowControls ? <WindowControls theme={config.windowTheme} handleTitleBarChange={this.handleTitleBarChange} /> : null}
{config.windowControls ? (
<WindowControls
theme={config.windowTheme}
handleTitleBarChange={this.handleTitleBarChange}
/>
) : null}
<CodeMirror
className={`CodeMirror__container window-theme__${config.windowTheme}`}
onBeforeChange={(editor, meta, code) => this.codeUpdated(code)}

@ -19,8 +19,9 @@ export default ({ theme, handleTitleBarChange }) => (
.window-title-container {
position: absolute;
top: 20px;
left: -18px;
margin: 0px;
top: -3px;
left: -9px;
width: 100%;
text-align: center;
}

Loading…
Cancel
Save