提交 56033638 编写于 作者: A Andrejs Cainikovs

Fix .btn-file class in less as well

上级 8f080024
...@@ -82,17 +82,21 @@ ...@@ -82,17 +82,21 @@
// input file btn // input file btn
&.btn-file { &.btn-file {
position: relative; position: relative;
width: 120px;
height: 35px;
overflow: hidden; overflow: hidden;
> input[type='file'] { > input[type='file'] {
display: block !important;
width: 100% !important;
height: 35px !important;
opacity: 0 !important;
position: absolute; position: absolute;
top: -10px; top: 0;
cursor: pointer; right: 0;
min-width: 100%;
min-height: 100%;
font-size: 100px;
text-align: right;
filter: alpha(opacity=0);
opacity: 0;
outline: none;
background: white;
cursor: inherit;
display: block;
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册