A little formatting polish
This commit is contained in:
parent
a2f1c94586
commit
9b0c491794
@ -209,33 +209,40 @@ 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([
|
||||
el('h1', 'Welcome'),
|
||||
el('p', [
|
||||
'To get started, drag some photos from your desktop or click on the ',
|
||||
el(
|
||||
'label',
|
||||
{
|
||||
for: 'uploadButton',
|
||||
style: Object.assign({ margin: '0px 3px' }, CLICKABLE)
|
||||
},
|
||||
[
|
||||
Icon({
|
||||
name: 'upload',
|
||||
size: 0.75,
|
||||
title: 'Upload',
|
||||
style: { verticalAlign: 'middle' }
|
||||
})
|
||||
]
|
||||
),
|
||||
'button.'
|
||||
])
|
||||
])
|
||||
Overlay(
|
||||
{
|
||||
textAlign: 'center',
|
||||
padding: '5%'
|
||||
},
|
||||
[
|
||||
el('h1', 'Welcome'),
|
||||
el('p', [
|
||||
'To get started, drag some photos from your desktop or click on the ',
|
||||
el(
|
||||
'label',
|
||||
{
|
||||
for: 'uploadButton',
|
||||
style: Object.assign({ margin: '0px 3px' }, CLICKABLE)
|
||||
},
|
||||
[
|
||||
Icon({
|
||||
name: 'upload',
|
||||
size: 0.75,
|
||||
title: 'Upload',
|
||||
style: { verticalAlign: 'middle' }
|
||||
})
|
||||
]
|
||||
),
|
||||
'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