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

Loading…
Cancel
Save