feat(charts): control buttons and legend base

This commit is contained in:
Azgaar 2022-06-20 02:10:49 +03:00
parent 9a9c8e700c
commit 4a50d89b41
3 changed files with 87 additions and 49 deletions

View file

@ -62,7 +62,8 @@ export function open(props) {
}
function appendStyleSheet() {
const styles = /* css */ `
const style = document.createElement("style");
style.textContent = /* css */ `
#hierarchyTree_selectedOrigins > button {
margin: 0 2px;
}
@ -122,8 +123,6 @@ function appendStyleSheet() {
}
`;
const style = document.createElement("style");
style.appendChild(document.createTextNode(styles));
document.head.appendChild(style);
}