From a05d40cf1a4c59f34bab26b296b3cd890fdf7b76 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 24 May 2021 12:04:56 +0200 Subject: Set z-index on zoomed blocks. --- play.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/play.html b/play.html index 49e4389..ba9e0c8 100644 --- a/play.html +++ b/play.html @@ -140,8 +140,10 @@ body.shift .block.known:hover { transform: scale(2) !important; transition: 100ms; + z-index: 100; } +.battle .block { position: relative; } .map .block { position: absolute; z-index: 2; } .map .block.highlight { z-index: 3; } .map .block.selected { z-index: 4; } -- cgit v1.2.3