Make the upload button clickable in Firefox

This commit is contained in:
Timothy Farrell 2017-12-31 22:11:04 -06:00
parent 490b788fd0
commit 2cf9a03d6c

View File

@ -69,7 +69,7 @@ export function AllImagesView(vm, params, key, context) {
} }
return [ return [
el('button', [el('label', { for: 'uploadButton' }, 'Upload')]), uploadButton([el('label', { for: 'uploadButton', style: CLICKABLE }, 'Upload')]),
el('input', { el('input', {
id: 'uploadButton', id: 'uploadButton',
name: 'uploadButton', name: 'uploadButton',
@ -207,6 +207,13 @@ const trashButtonContainer = styled(
CLICKABLE CLICKABLE
); );
const uploadButton = styled(
{
marginRight: '1em'
},
CLICKABLE
);
const scrollView = styled({ const scrollView = styled({
overflow: 'scroll' overflow: 'scroll'
}); });