summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-12-06 12:29:51 +0100
committerMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-12-06 12:29:51 +0100
commitf6780135ec6ab392d3837282fd1267691bb84f6c (patch)
treeb01df9aa1999dd1b3934549c79538cd50b7c910f /play.js
parent590816d49784dbb78ce129885e8b9a7b499362f8 (diff)
downloadvotes-for-women-f6780135ec6ab392d3837282fd1267691bb84f6c.tar.gz
congress marker placement
Diffstat (limited to 'play.js')
-rw-r--r--play.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/play.js b/play.js
index 4312488..3bb5ed4 100644
--- a/play.js
+++ b/play.js
@@ -382,7 +382,7 @@ function build_user_interface() {
for (let c = 1; c <= 6; ++c) {
elt = ui.congress[c] = create("div", {
className: "piece congress",
- style: `left:${15 + (c-1) * 42}px;top:-6px;`,
+ style: `left:${15 + (c-1) * 41.7}px;top:-6px;`,
})
elt.addEventListener("mousedown", on_click_congress)
}