Commit cc6ed460 authored by yann300's avatar yann300

fix remove icon

parent 6ee4d2e7
...@@ -20,12 +20,9 @@ var css = csjs` ...@@ -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) { ...@@ -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) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment