Give more space to layer editor

This commit is contained in:
Lukas Martinelli 2016-12-26 11:22:41 +01:00
parent 6b0b29d1da
commit a3d586a75d
3 changed files with 4 additions and 3 deletions

View file

@ -52,7 +52,7 @@ class AppLayout extends React.Component {
top: 40,
left: 200,
zIndex: 1,
width: 300,
width: 350,
backgroundColor: colors.black
}}>
<ScrollContainer>

View file

@ -35,13 +35,13 @@ class ColorField extends React.Component {
const pos = elem.getBoundingClientRect()
return {
top: pos.top,
left: pos.left + 165,
left: pos.left + 196,
}
} else {
console.warn('Color field has no element to adjust position')
return {
top: 160,
left: 500,
left: 555,
}
}
}

View file

@ -137,6 +137,7 @@ class LayerListItem extends React.Component {
padding: margins[1],
borderColor: Color(colors.black).lighten(0.10).string(),
backgroundColor: colors.black,
lineHeight: 1.3,
}
if(this.state.hover) {