Layout changes

This commit is contained in:
2019-10-07 22:11:57 -05:00
parent 5a7418e656
commit cae8e698a4
6 changed files with 31 additions and 33 deletions

View File

@@ -133,24 +133,30 @@ class App extends IPCContainer {
let mainContent = [];
if (this.props.DisplaySelectAppPlatform || !this.props.AppReady) {
mainContent = <Loading/>
mainContent = (
<Box>
<Loading/>
</Box>);
} else {
let key = 0;
mainContent.push((
<div key={'rvd_' + key++}
style={{'paddingBottom': '4px'}}>
<Box key={'md_' + key++}
dxStyle={{padding: '8px', height: 'auto'}}>
<ReleaseVersionDisplay downloadDisabled={!downloadEnabled}
version={selectedVersion}/>
</div>
</Box>
));
mainContent.push(<div key={'md_' + key++}
style={{paddingTop: '8px'}}/>);
if (allowMount) {
mainContent.push((
<Box dxStyle={{padding: '8px', height: 'auto'}}
key={'md_' + key++}>
<MountItems allowConfig={allowConfig}
allowSiaPrime={allowSiaPrime}
key={'md_' + key++}
noConsoleSupported={noConsoleSupported}
remoteSupported={remoteSupported}/>
</Box>
));
}
}
@@ -179,9 +185,7 @@ class App extends IPCContainer {
</Box>
</div>
<div className={'AppContent'}>
<Box dxStyle={{padding: '8px 8px 0px 8px'}}>
{mainContent}
</Box>
{mainContent}
</div>
</div>
{selectAppPlatformDisplay}