Layout changes
This commit is contained in:
@@ -8,11 +8,15 @@
|
|||||||
background: var(--control_background);
|
background: var(--control_background);
|
||||||
}
|
}
|
||||||
|
|
||||||
.PinnedManagerItems {
|
.PinnedManagerOwner {
|
||||||
height: 70%;
|
height: 70%;
|
||||||
padding: var(--default_spacing);
|
padding: var(--default_spacing);
|
||||||
overflow-x: auto;
|
|
||||||
overflow-y: auto;
|
|
||||||
border-radius: var(--border_radius);
|
border-radius: var(--border_radius);
|
||||||
background: var(--control_background);
|
background: var(--control_background);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.PinnedManagerItems {
|
||||||
|
height: 100%;
|
||||||
|
overflow-x: auto;
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
|||||||
@@ -161,14 +161,16 @@ export default connect(mapStateToProps, mapDispatchToProps)(class extends IPCCon
|
|||||||
<h1 style={{width: '100%', textAlign: 'center'}}>{'Pinned File Manager'}</h1>
|
<h1 style={{width: '100%', textAlign: 'center'}}>{'Pinned File Manager'}</h1>
|
||||||
<div className={'PinnedManagerActiveDirectory'}><b> {this.state.active_directory}</b>
|
<div className={'PinnedManagerActiveDirectory'}><b> {this.state.active_directory}</b>
|
||||||
</div>
|
</div>
|
||||||
<div className={'PinnedManagerItems'}>
|
<div className={'PinnedManagerOwner'}>
|
||||||
{
|
<div className={'PinnedManagerItems'}>
|
||||||
this.state.items.map((i, k) => {
|
{
|
||||||
return i.directory ?
|
this.state.items.map((i, k) => {
|
||||||
this.createDirectory(i.name, i.path, idx++, this.state.items.length, k) :
|
return i.directory ?
|
||||||
this.createFile(i.name, i.path, i.meta.pinned, idx++, this.state.items.length, k);
|
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>
|
</div>
|
||||||
</Box>
|
</Box>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user