A little formatting polish
This commit is contained in:
parent
a2f1c94586
commit
9b0c491794
@ -209,12 +209,18 @@ export function AllImagesView(vm, params) {
|
||||
'.sectionSelectButton .icon': toggleAll,
|
||||
'.sectionSelectButton .icon svg path': toggleAll,
|
||||
'.photoOverlay': photoClick
|
||||
}
|
||||
},
|
||||
style: { overflowY: hasPhotos ? 'scroll' : 'hidden' }
|
||||
},
|
||||
hasPhotos
|
||||
? _sections.map(renderSection)
|
||||
: [
|
||||
Overlay([
|
||||
Overlay(
|
||||
{
|
||||
textAlign: 'center',
|
||||
padding: '5%'
|
||||
},
|
||||
[
|
||||
el('h1', 'Welcome'),
|
||||
el('p', [
|
||||
'To get started, drag some photos from your desktop or click on the ',
|
||||
@ -235,7 +241,8 @@ export function AllImagesView(vm, params) {
|
||||
),
|
||||
'button.'
|
||||
])
|
||||
])
|
||||
]
|
||||
)
|
||||
]
|
||||
)
|
||||
]
|
||||
@ -263,6 +270,5 @@ const allImagesContainer = styled({
|
||||
flex: 1
|
||||
});
|
||||
const allImagesContent = styled({
|
||||
overflowY: 'scroll',
|
||||
flex: 1
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user