Make input file fit in the parent box

issue7734
review49601002
This commit is contained in:
Cédric Krier committed 2018-09-26 23:08:56 +02:00
1 parent f2be833feb
commit 2ff32c2c79
1 file changed
+10 -1
+10 -1
View File
@@ -125,10 +125,19 @@ input[type='color'] {
}
.input-file {
& input[type='file'] {
> input[type='file'] {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
opacity: 0;
cursor: pointer;
li& {
top: auto;
height: auto;
}
}
}