From 061b5a30fe06ca037a75a7a2399edba45aaec971 Mon Sep 17 00:00:00 2001 From: leigh-mil Date: Tue, 16 Jul 2019 20:36:16 -0400 Subject: [PATCH] Use display instead of opacity because 'Choose file' button was causing the cursor to use the regular pointer when you hovered over it Move cursor to label because display of input is now none --- styles/elements/_uploader.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/styles/elements/_uploader.scss b/styles/elements/_uploader.scss index 373cce5b..9d610858 100644 --- a/styles/elements/_uploader.scss +++ b/styles/elements/_uploader.scss @@ -6,6 +6,7 @@ border: 1px solid black; padding: 0; display: block; + cursor: pointer; .upload-button { padding: 1rem 1.5rem; @@ -22,10 +23,9 @@ } input { - opacity: 0; + display: none; position: absolute; top: 0; - cursor: pointer; } }