From 2cf9a03d6c4bcfd9f43e648b92d47f441ee6621c Mon Sep 17 00:00:00 2001 From: Timothy Farrell Date: Sun, 31 Dec 2017 22:11:04 -0600 Subject: [PATCH] Make the upload button clickable in Firefox --- packages/gallery/src/interface/allImages.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/gallery/src/interface/allImages.js b/packages/gallery/src/interface/allImages.js index 0a0eea5..60cfd67 100644 --- a/packages/gallery/src/interface/allImages.js +++ b/packages/gallery/src/interface/allImages.js @@ -69,7 +69,7 @@ export function AllImagesView(vm, params, key, context) { } return [ - el('button', [el('label', { for: 'uploadButton' }, 'Upload')]), + uploadButton([el('label', { for: 'uploadButton', style: CLICKABLE }, 'Upload')]), el('input', { id: 'uploadButton', name: 'uploadButton', @@ -207,6 +207,13 @@ const trashButtonContainer = styled( CLICKABLE ); +const uploadButton = styled( + { + marginRight: '1em' + }, + CLICKABLE +); + const scrollView = styled({ overflow: 'scroll' });