diff --git a/front/core/components/input-file/index.html b/front/core/components/input-file/index.html index 5ec7e1da49..14d138cfe6 100644 --- a/front/core/components/input-file/index.html +++ b/front/core/components/input-file/index.html @@ -3,7 +3,7 @@ ng-transclude="prepend" class="prepend"> </div> - <div class="infix"> + <div class="infix" > <div class="fix prefix"></div> <div class="control"> <section @@ -13,8 +13,7 @@ </section> <input type="file" - accept="{{$ctrl.accept}}" - style="display: none;"> + accept="{{$ctrl.accept}}"> </input> </div> <div class="fix suffix"></div> diff --git a/front/core/components/input-file/style.scss b/front/core/components/input-file/style.scss index 44d11f7744..72470c4fe3 100644 --- a/front/core/components/input-file/style.scss +++ b/front/core/components/input-file/style.scss @@ -4,4 +4,13 @@ .value { cursor: pointer; } + .control { + & > input[type=file] { + opacity: 0; + } + & > section { + position: absolute; + bottom: 0; + } + } } \ No newline at end of file