Commit d93e2c50 authored by yann300's avatar yann300

fix tab title

parent 8349e4ce
......@@ -8,6 +8,20 @@ var analysisTab = require('./analysis-tab')
var debuggerTab = require('./debugger-tab')
var filesTab = require('./files-tab')
var csjs = require('csjs-inject')
var css = csjs`
.options {
float: left;
padding: 0.7em 0.3em;
font-size: 0.9em;
cursor: pointer;
background-color: transparent;
margin-right: 0.5em;
font-size: 1em;
}
`
// ------------------------------------------------------------------
module.exports = RighthandPanel
......@@ -39,6 +53,8 @@ function RighthandPanel (container, appAPI, events, opts) {
filesTab(optionViews, appAPI, events, opts)
container.appendChild(element)
;[...container.querySelectorAll('#header #options li')].forEach((el) => { el.classList.add(css.options) })
// ----------------- toggle right hand panel -----------------
var hidingRHP = false
......
......@@ -106,9 +106,6 @@ var cssInstance = csjs`
}
`
;[...document.querySelectorAll('#header #options li')].forEach(addCss)
function addCss (el) { el.classList.add(css.options) }
/*
trigger debugRequested
*/
......
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