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

@ -42,7 +42,8 @@ export function open() {
}
function appendStyleSheet() {
const styles = /* css */ `
const style = document.createElement("style");
style.textContent = /* css */ `
div.dialog > div.heightmap-selection {
width: 70vw;
height: 70vh;
@ -145,8 +146,6 @@ function appendStyleSheet() {
}
`;
const style = document.createElement("style");
style.appendChild(document.createTextNode(styles));
document.head.appendChild(style);
}