fixed file explorer icons tyle inonsistentcy

pull/1/head
LianaHus 6 years ago
parent 086db97fcb
commit f3c9cdeaae
  1. 4
      src/app/files/file-explorer.js

@ -522,12 +522,12 @@ fileExplorer.prototype.renderMenuItems = function () {
items = this.menuItems.map(({action, title, icon}) => { items = this.menuItems.map(({action, title, icon}) => {
if (action === 'uploadFile') { if (action === 'uploadFile') {
return yo` return yo`
<label class="${icon} ${css.newFile}" title="${title}"> <span class="${icon} ${css.newFile}" title="${title}">
<input type="file" onchange=${(event) => { <input type="file" onchange=${(event) => {
event.stopPropagation() event.stopPropagation()
this.uploadFile(event) this.uploadFile(event)
}} multiple /> }} multiple />
</label> </span>
` `
} else { } else {
return yo` return yo`

Loading…
Cancel
Save