summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-03-18 14:19:12 +0100
committerTor Andersson <tor@ccxvii.net>2024-03-18 14:19:12 +0100
commit745dd8e4a523750c462ede15a57d47ddfdccc94b (patch)
tree77338ffa990efe7ca801052926b7f53c0ec800bf
parent625f16a4efe96ac890a736fa2e388ce0d1e78217 (diff)
downloadtable-battles-745dd8e4a523750c462ede15a57d47ddfdccc94b.tar.gz
Set initial map size for zooming.
... set reasonable defaults so we don't need to update it dynamically.
-rw-r--r--play.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/play.html b/play.html
index 3de7ab5..1ee3a4b 100644
--- a/play.html
+++ b/play.html
@@ -455,7 +455,8 @@ body.shift .card .number { display: block; }
<div id="log"></div>
</aside>
-<main data-min-zoom="0.5" data-max-zoom="1.125" data-map-height="500">
+<!-- set map size for zooming out to fit 6 cards wide and no reserves -->
+<main data-min-zoom="0.5" data-max-zoom="1.125" data-map-height="1458" data-map-width="1620">
<div class="table">