summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--play.html1
-rw-r--r--play.js2
2 files changed, 3 insertions, 0 deletions
diff --git a/play.html b/play.html
index 2d5a9de..859d4fa 100644
--- a/play.html
+++ b/play.html
@@ -397,6 +397,7 @@ main { background-color: dimgray }
flex-wrap: wrap;
padding: 20px;
gap: 14px;
+ min-height: 43px;
}
</style>
diff --git a/play.js b/play.js
index 992e216..2432a84 100644
--- a/play.js
+++ b/play.js
@@ -641,9 +641,11 @@ function update_map() {
}
// Hide supply panels when empty
+ /*
ui.fln_supply_panel.classList.toggle("hide", !(ui.fln_supply.childNodes.length - 1))
ui.gov_supply_panel.classList.toggle("hide", !(ui.gov_supply.childNodes.length - 1))
ui.eliminated_panel.classList.toggle("hide", !(ui.eliminated.childNodes.length - 1))
+ */
for (let i = 0; i < ui.areas.length; ++i) {
let e = ui.areas[i]