Browse Source

Pull request #1555: fix: 解决chrome下input type:file cursor设置为pointer无效的问题

Merge in VISUAL/fineui from ~KIRA/fineui:master to master

* commit 'c71263470ec527b42ab1632f78f45d0bd27e3475':
  refactor: 格式
  fix: 解决chrome下input type:file cursor设置为pointer无效的问题
es6
Kira 4 years ago
parent
commit
c02c90557a
  1. 8
      src/less/base/single/editor/editor.multifile.less

8
src/less/base/single/editor/editor.multifile.less

@ -9,4 +9,12 @@
// BI-52961 IE11出现光标的兼容: 通过布局的overflow: hidden创建BFC, 此时设置负margin隐藏光标不会影响其他元素 // BI-52961 IE11出现光标的兼容: 通过布局的overflow: hidden创建BFC, 此时设置负margin隐藏光标不会影响其他元素
margin-left: -5px; margin-left: -5px;
} }
// 解决chrome下input type:file cursor设置为pointer无效的问题
// https://stackoverflow.com/questions/1537223/change-cursor-type-on-input-type-file
input[type=file], /* FF, IE7+, chrome (except button) */
input[type=file]::-webkit-file-upload-button {
/* chromes and blink button */
cursor: pointer;
}
} }
Loading…
Cancel
Save