Make input file fit in the parent box
issue7734 review49601002
This commit is contained in:
1 parent
f2be833feb
commit
2ff32c2c79
1 file changed
+10
-1
+10
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user