update debugger tab styling

pull/1/head
yann300 7 years ago
parent 6a527284bc
commit fe57e4480a
  1. 10
      src/app/debugger-tab.js

@ -2,16 +2,24 @@ var yo = require('yo-yo')
// -------------- styling ---------------------- // -------------- styling ----------------------
var csjs = require('csjs-inject') var csjs = require('csjs-inject')
var styleGuide = require('./style-guide')
var styles = styleGuide()
var css = csjs` var css = csjs`
.debuggerTabView { .debuggerTabView {
padding: 2%; padding: 2%;
} }
.debugger extends ${styles.displayBox} {
margin-bottom: 1%;
}
` `
module.exports = debuggerTab module.exports = debuggerTab
function debuggerTab (container, appAPI, events, opts) { function debuggerTab (container, appAPI, events, opts) {
var el = yo` <div class="${css.debuggerTabView} "id="debugView"><div id="debugger"></div></div>` var el = yo`
<div class="${css.debuggerTabView} "id="debugView">
<div id="debugger" class="${css.debugger}"></div>
</div>`
container.appendChild(el) container.appendChild(el)
} }

Loading…
Cancel
Save