Commit 0edf9f88 authored by yann300's avatar yann300

use monospace for memory

parent 5238b8c8
...@@ -6,7 +6,11 @@ var yo = require('yo-yo') ...@@ -6,7 +6,11 @@ var yo = require('yo-yo')
function MemoryPanel (_parent, _traceManager) { function MemoryPanel (_parent, _traceManager) {
this.parent = _parent this.parent = _parent
this.traceManager = _traceManager this.traceManager = _traceManager
this.basicPanel = new DropdownPanel('Memory', {json: true}) this.basicPanel = new DropdownPanel('Memory', {
json: true,
css: {
'font-family': 'monospace'
}})
this.init() this.init()
} }
......
...@@ -11,8 +11,8 @@ class TreeView { ...@@ -11,8 +11,8 @@ class TreeView {
this.beforeJsonNodeRendered = opts.beforeJsonNodeRendered || noop this.beforeJsonNodeRendered = opts.beforeJsonNodeRendered || noop
this.beforeJsonValueRendered = opts.beforeJsonValueRendered || noop this.beforeJsonValueRendered = opts.beforeJsonValueRendered || noop
this.view = null this.view = null
this.cssLabel = ui.formatCss(style.label) this.cssLabel = ui.formatCss(opts.css || {}, style.label)
this.cssList = ui.formatCss(style.list) this.cssList = ui.formatCss(opts.css || {}, style.list)
} }
render (json) { render (json) {
......
...@@ -13,8 +13,7 @@ module.exports = { ...@@ -13,8 +13,7 @@ module.exports = {
}, },
content: { content: {
'color': '#111111', 'color': '#111111',
'width': '100%', 'width': '100%'
'font-family': 'monospace'
}, },
inner: { inner: {
'padding': '2px', 'padding': '2px',
......
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