From 72ec3e7a5f058ff563eb570154cd663019b51803 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 21 Oct 2023 18:30:40 +0200 Subject: scroll_with_middle_mouse --- play.html | 22 ++++++++-------------- play.js | 2 -- 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/play.html b/play.html index 83ef648..4d1db79 100644 --- a/play.html +++ b/play.html @@ -34,14 +34,10 @@ body.Observer #hand { display: none } /* BOARD */ -#mapwrap { - width: 825px; - margin: 0px auto; -} - #map { width: 825px; height: calc(12px + 80px + 12px + 638px + 12px + 80px + 12px + 80px + 12px); + margin: 0px auto; } #hand, .court { height: 80px; } @@ -272,16 +268,14 @@ body.Observer #hand { display: none }
-
-
-
Rival Court
-
-
-
-
-
Court
-
Hand
+
+
Rival Court
+
+
+
+
Court
+
Hand
diff --git a/play.js b/play.js index 28530db..e3d53b5 100644 --- a/play.js +++ b/play.js @@ -388,5 +388,3 @@ function on_log(text) { p.innerHTML = text return p } - -scroll_with_middle_mouse("main") -- cgit v1.2.3