Layout changes
This commit is contained in:
22
src/App.js
22
src/App.js
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user