From 4fffe7e7f2f00505bc71c8c7184a586f0b0cb7f9 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 20 Jul 2021 17:49:35 +0200 Subject: 300: Don't show zoomed in card back. --- play.html | 2 +- ui.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/play.html b/play.html index 81db5f9..0038f64 100644 --- a/play.html +++ b/play.html @@ -79,7 +79,7 @@ #tooltip.card { position: fixed; - z-index: 100; + z-index: 200; right: 270px; top: 60px; width: 375px; diff --git a/ui.js b/ui.js index 12c2eb7..4806eb5 100644 --- a/ui.js +++ b/ui.js @@ -69,7 +69,7 @@ function on_focus_discard(evt) { if (game.discard) document.getElementById("tooltip").className = "card show card_" + game.discard; else - document.getElementById("tooltip").className = "card show card_back"; + document.getElementById("tooltip").className = "card"; } function on_blur_discard(evt) { -- cgit v1.2.3