space out and confine active abil window

This commit is contained in:
reschan 2022-06-24 19:04:58 +07:00
parent 032fa26d1c
commit 8ce25cf2c9
2 changed files with 2 additions and 2 deletions

View file

@ -619,7 +619,7 @@
<div class="col border border-semi-light rounded dark-9 hide-scroll" id="atree-ui" style="height: 500px; overflow-y: auto;">
</div>
<div class="col mx-auto" id="atree-active">
<div class="col mx-auto" style="height: 500px; overflow-y: auto;" id="atree-active">
</div>
</div>
</div>

View file

@ -121,7 +121,7 @@ function construct_AT(elem, tree) {
node_elem.classList.add("fake-button");
let active_tooltip = document.createElement('div');
active_tooltip.classList.add("rounded-bottom", "dark-7", "border", "mb-2", "mx-auto");
active_tooltip.classList.add("rounded-bottom", "dark-4", "border", "p-0", "mx-2", "my-4", "dark-shadow");
//was causing active element boxes to be 0 width
// active_tooltip.style.width = elem.getBoundingClientRect().width * .80 + "px";
active_tooltip.style.display = "none";