fix file select button

master
subnixr 2018-03-10 04:09:40 +01:00
parent 0ec83c107a
commit 9e46d54c9e
1 changed files with 7 additions and 0 deletions

View File

@ -52,15 +52,22 @@ html, body {
position: relative; position: relative;
} }
.file-input span { .file-input span {
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
user-select: none;
z-index: -1;
} }
.file-input input[type=file]{ .file-input input[type=file]{
z-index: 2; z-index: 2;
opacity: 0; opacity: 0;
width: 100%;
font-size: 2rem;
} }
.submit { .submit {