Error panel with current map style errors #40

This commit is contained in:
Lukas Martinelli
2016-12-30 13:21:03 +01:00
parent 886c87f231
commit 89d497c73f
5 changed files with 54 additions and 3 deletions

View File

@@ -11,6 +11,7 @@ class AppLayout extends React.Component {
layerList: React.PropTypes.element.isRequired,
layerEditor: React.PropTypes.element,
map: React.PropTypes.element.isRequired,
bottom: React.PropTypes.element,
}
static childContextTypes = {
@@ -60,6 +61,18 @@ class AppLayout extends React.Component {
</ScrollContainer>
</div>
{this.props.map}
{this.props.bottom && <div style={{
position: 'fixed',
height: 50,
bottom: 0,
left: 550,
zIndex: 1,
width: '100%',
backgroundColor: colors.black
}}>
{this.props.bottom}
</div>
}
</div>
}
}