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}) => {
if (action === 'uploadFile') {
return yo`
<label class="${icon} ${css.newFile}" title="${title}">
<span class="${icon} ${css.newFile}" title="${title}">
<input type="file" onchange=${(event) => {
event.stopPropagation()
this.uploadFile(event)
}} multiple />
</label>
</span>
`
} else {
return yo`

Loading…
Cancel
Save