A little formatting polish
This commit is contained in:
parent
2929e08ecb
commit
d2bca1c688
@ -209,33 +209,40 @@ export function AllImagesView(vm, params) {
|
|||||||
'.sectionSelectButton .icon': toggleAll,
|
'.sectionSelectButton .icon': toggleAll,
|
||||||
'.sectionSelectButton .icon svg path': toggleAll,
|
'.sectionSelectButton .icon svg path': toggleAll,
|
||||||
'.photoOverlay': photoClick
|
'.photoOverlay': photoClick
|
||||||
}
|
},
|
||||||
|
style: { overflowY: hasPhotos ? 'scroll' : 'hidden' }
|
||||||
},
|
},
|
||||||
hasPhotos
|
hasPhotos
|
||||||
? _sections.map(renderSection)
|
? _sections.map(renderSection)
|
||||||
: [
|
: [
|
||||||
Overlay([
|
Overlay(
|
||||||
el('h1', 'Welcome'),
|
{
|
||||||
el('p', [
|
textAlign: 'center',
|
||||||
'To get started, drag some photos from your desktop or click on the ',
|
padding: '5%'
|
||||||
el(
|
},
|
||||||
'label',
|
[
|
||||||
{
|
el('h1', 'Welcome'),
|
||||||
for: 'uploadButton',
|
el('p', [
|
||||||
style: Object.assign({ margin: '0px 3px' }, CLICKABLE)
|
'To get started, drag some photos from your desktop or click on the ',
|
||||||
},
|
el(
|
||||||
[
|
'label',
|
||||||
Icon({
|
{
|
||||||
name: 'upload',
|
for: 'uploadButton',
|
||||||
size: 0.75,
|
style: Object.assign({ margin: '0px 3px' }, CLICKABLE)
|
||||||
title: 'Upload',
|
},
|
||||||
style: { verticalAlign: 'middle' }
|
[
|
||||||
})
|
Icon({
|
||||||
]
|
name: 'upload',
|
||||||
),
|
size: 0.75,
|
||||||
'button.'
|
title: 'Upload',
|
||||||
])
|
style: { verticalAlign: 'middle' }
|
||||||
])
|
})
|
||||||
|
]
|
||||||
|
),
|
||||||
|
'button.'
|
||||||
|
])
|
||||||
|
]
|
||||||
|
)
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
@ -263,6 +270,5 @@ const allImagesContainer = styled({
|
|||||||
flex: 1
|
flex: 1
|
||||||
});
|
});
|
||||||
const allImagesContent = styled({
|
const allImagesContent = styled({
|
||||||
overflowY: 'scroll',
|
|
||||||
flex: 1
|
flex: 1
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user