Layout fixes
This commit is contained in:
@@ -308,9 +308,12 @@ class MountItems extends IPCContainer {
|
||||
)
|
||||
}
|
||||
|
||||
let headerItems = [];
|
||||
let footerItems = [];
|
||||
if (this.props.remoteSupported) {
|
||||
headerItems.push(<AddRemoteMount key={'hi_' + headerItems.length}/>);
|
||||
footerItems.push(<AddRemoteMount key={'hi_' + footerItems.length}/>);
|
||||
} else {
|
||||
footerItems.push(<div key={'hi_' + footerItems.length}
|
||||
style={{height: '27px'}}/>);
|
||||
}
|
||||
|
||||
let items = [];
|
||||
@@ -355,7 +358,7 @@ class MountItems extends IPCContainer {
|
||||
{items}
|
||||
</div>
|
||||
<div style={{paddingTop: '8px'}}/>
|
||||
{headerItems}
|
||||
{footerItems}
|
||||
</div>);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user