diff --git a/components/Carbon.js b/components/Carbon.js
index f2da23c..c8dc0da 100644
--- a/components/Carbon.js
+++ b/components/Carbon.js
@@ -82,6 +82,7 @@ class Carbon extends React.Component {
// create styles
const containerStyle = {
+ position: 'relative',
background: config.background,
minWidth: config.widthAdjustment ? '90px' : '680px',
padding: `${config.paddingVertical} ${config.paddingHorizontal}`
@@ -112,7 +113,38 @@ class Carbon extends React.Component {
value={this.props.children}
options={options}
/>
+
diff --git a/components/WindowControls.js b/components/WindowControls.js
index c049064..c787355 100644
--- a/components/WindowControls.js
+++ b/components/WindowControls.js
@@ -11,7 +11,7 @@ export default ({ theme }) => (
position: relative;
top: 34px;
margin-left: 18px;
- z-index: 1;
+ z-index: 2;
}
`}
diff --git a/pages/editor.js b/pages/editor.js
index b3c328f..2dff875 100644
--- a/pages/editor.js
+++ b/pages/editor.js
@@ -81,6 +81,7 @@ class Editor extends React.Component {
transform: 'scale(2)',
'transform-origin': 'center'
},
+ filter: n => n.id !== 'container-bg',
width: node.offsetWidth * 2,
height: node.offsetHeight * 2
}