Layout changes

This commit is contained in:
2020-12-11 22:22:10 -06:00
parent ac8a9cf938
commit 617f020ad0
2 changed files with 17 additions and 11 deletions

View File

@@ -161,14 +161,16 @@ export default connect(mapStateToProps, mapDispatchToProps)(class extends IPCCon
<h1 style={{width: '100%', textAlign: 'center'}}>{'Pinned File Manager'}</h1>
<div className={'PinnedManagerActiveDirectory'}><b>&nbsp;{this.state.active_directory}</b>
</div>
<div className={'PinnedManagerItems'}>
{
this.state.items.map((i, k) => {
return i.directory ?
this.createDirectory(i.name, i.path, idx++, this.state.items.length, k) :
this.createFile(i.name, i.path, i.meta.pinned, idx++, this.state.items.length, k);
})
}
<div className={'PinnedManagerOwner'}>
<div className={'PinnedManagerItems'}>
{
this.state.items.map((i, k) => {
return i.directory ?
this.createDirectory(i.name, i.path, idx++, this.state.items.length, k) :
this.createFile(i.name, i.path, i.meta.pinned, idx++, this.state.items.length, k);
})
}
</div>
</div>
</Box>
)