A little formatting polish

This commit is contained in:
Timothy Farrell 2018-01-12 20:29:08 -06:00
parent 2929e08ecb
commit d2bca1c688

View File

@ -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
});