Layout changes
This commit is contained in:
@@ -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> {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>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user