From f28d80c25085e2a0459ed9cc96e77e9dec20ff14 Mon Sep 17 00:00:00 2001 From: Jake Dexheimer Date: Sun, 25 Feb 2018 10:32:50 -0600 Subject: [PATCH] Minor windowTitle positioning change --- components/Carbon.js | 7 ++++++- components/WindowControls.js | 5 +++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/components/Carbon.js b/components/Carbon.js index f3de027..e59654f 100644 --- a/components/Carbon.js +++ b/components/Carbon.js @@ -109,7 +109,12 @@ class Carbon extends React.Component { if (this.state.loading === false) { content = (
- {config.windowControls ? : null} + {config.windowControls ? ( + + ) : null} this.codeUpdated(code)} diff --git a/components/WindowControls.js b/components/WindowControls.js index 84fb50f..056543f 100644 --- a/components/WindowControls.js +++ b/components/WindowControls.js @@ -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; }