fix remove icon

pull/1/head
yann300 8 years ago
parent 6ee4d2e7ef
commit cc6ed4604c
  1. 9
      src/app/file-explorer.js

@ -20,12 +20,9 @@ var css = csjs`
background-color : white; background-color : white;
} }
.remove { .remove {
align-self : center; float : right;
padding-left : 10px;
} }
.activeMode { .activeMode {
display : flex;
justify-content : space-between;
margin-right : 10px; margin-right : 10px;
padding-right : 19px; padding-right : 19px;
} }
@ -70,9 +67,9 @@ function fileExplorer (appAPI, files) {
}) })
var deleteButton = yo` var deleteButton = yo`
<span class=${css.remove} onclick=${deletePath}> <div class=${css.remove} onclick=${deletePath}>
<i class="fa fa-trash" aria-hidden="true"></i> <i class="fa fa-trash" aria-hidden="true"></i>
</span> </div>
` `
appAPI.event.register('currentFileChanged', (newFile) => { appAPI.event.register('currentFileChanged', (newFile) => {

Loading…
Cancel
Save