diff --git a/devtools/client/memory/components/toolbar.js b/devtools/client/memory/components/toolbar.js index 52d2d7dd6344..964cf6a3f442 100644 --- a/devtools/client/memory/components/toolbar.js +++ b/devtools/client/memory/components/toolbar.js @@ -40,7 +40,7 @@ const Toolbar = module.exports = createClass({ dom.div({ className: "devtools-toolbar" }, dom.button({ id: "take-snapshot", - className: `take-snapshot devtools-button`, + className: "take-snapshot devtools-button", onClick: onTakeSnapshotClick, title: L10N.getStr("take-snapshot") }), @@ -50,7 +50,7 @@ const Toolbar = module.exports = createClass({ L10N.getStr("toolbar.breakdownBy"), dom.select({ id: "select-breakdown", - className: `select-breakdown`, + className: "select-breakdown", onChange: e => onBreakdownChange(e.target.value), }, ...breakdowns.map(({ name, displayName }) => dom.option({ key: name, value: name }, displayName))) ), @@ -81,6 +81,7 @@ const Toolbar = module.exports = createClass({ dom.input({ id: "filter", type: "search", + className: "devtools-searchinput", placeholder: L10N.getStr("filter.placeholder"), onChange: event => setFilterString(event.target.value), value: !!filterString ? filterString : undefined, diff --git a/devtools/client/themes/memory.css b/devtools/client/themes/memory.css index 19f0ba6e2092..806349495ed8 100644 --- a/devtools/client/themes/memory.css +++ b/devtools/client/themes/memory.css @@ -100,6 +100,11 @@ html, body, #app, #memory-tool { flex: 1; } +#filter { + align-self: stretch; + margin: 2px; +} + /** * TODO bug 1213100 * Once we figure out how to store invertable buttons (pseudo element like in