Commit bb81a84e authored by Jérome Perrin's avatar Jérome Perrin

toolbox:ignore some styles to have consistent rendering

parent abc5458a
...@@ -61,7 +61,10 @@ ...@@ -61,7 +61,10 @@
tool.title = _class.description; tool.title = _class.description;
} }
Object.keys(_class.css || {}).forEach(function (k) { Object.keys(_class.css || {}).forEach(function (k) {
tool.style[k] = _class.css[k]; // some styles are ignored here, to keep the rendering of toolbox consistent.
if (k != "line-height") {
tool.style[k] = _class.css[k];
}
}); });
tools_container.appendChild(tool); tools_container.appendChild(tool);
} }
......
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