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) { if (this.state.loading === false) {
content = ( content = (
<div id="container"> <div id="container">
{config.windowControls ? <WindowControls theme={config.windowTheme} handleTitleBarChange={this.handleTitleBarChange} /> : null} {config.windowControls ? (
<WindowControls
theme={config.windowTheme}
handleTitleBarChange={this.handleTitleBarChange}
/>
) : null}
<CodeMirror <CodeMirror
className={`CodeMirror__container window-theme__${config.windowTheme}`} className={`CodeMirror__container window-theme__${config.windowTheme}`}
onBeforeChange={(editor, meta, code) => this.codeUpdated(code)} onBeforeChange={(editor, meta, code) => this.codeUpdated(code)}

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

Loading…
Cancel
Save