fix tab list

pull/1/head
yann300 7 years ago
parent bd17dd248b
commit fb3dda119b
  1. 10
      src/app/panels/editor-panel.js

@ -132,8 +132,11 @@ var css = csjs`
right : 20px;
top : 10px;
width : 20em;
}
`
#files .file {
var cssTabs = yo`<style>
#files .file {
padding: 0 0.6em;
box-sizing: border-box;
background-color: hsla(229, 100%, 97%, 1); /* backgroundBlue in style-guide.js */
@ -173,7 +176,7 @@ var css = csjs`
#files .file.active .remove {
display: inline-block;
}
`
</style>`
class EditorPanel {
constructor (opts = {}) {
@ -223,6 +226,9 @@ class EditorPanel {
self._api.txListener.setListenOnNetwork(listenOnNetWork)
})
}
if (document && document.head) {
document.head.appendChild(cssTabs)
}
}
_adjustLayout (direction, delta) {
var limitUp = 0

Loading…
Cancel
Save