diff --git a/src/sao.less b/src/sao.less index 730024e0e6..19ce4a641a 100644 --- a/src/sao.less +++ b/src/sao.less @@ -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; + } } }