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
This commit is contained in:
leigh-mil 2019-07-16 20:36:16 -04:00
parent 6be6078a64
commit 061b5a30fe

View File

@ -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;
}
}