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:
parent
6be6078a64
commit
061b5a30fe
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user