From 2fb807c47994602e5e368e4294ccd05c4e18f8c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Sun, 9 May 2021 16:15:29 +0200 Subject: [PATCH] MAPG-229 make .controlItem relative so it's children can be sized more properly --- public/static/css/mapguesser.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/static/css/mapguesser.css b/public/static/css/mapguesser.css index 7995753..3a8e64e 100644 --- a/public/static/css/mapguesser.css +++ b/public/static/css/mapguesser.css @@ -451,6 +451,7 @@ div.box { } .circleControl .controlItem { + position: relative; height: 60px; margin-top: 10px; opacity: 70%; @@ -463,6 +464,8 @@ div.box { .circleControl .controlItem div { position: absolute; + width: 100%; + height: 100%; } .circleControl .controlBackground { @@ -477,7 +480,6 @@ div.box { margin: auto; margin-top: 50%; transform: translateY(-50%); - -ms-transform: translateY(-50%); } @media screen and (max-width: 599px) { -- 2.45.2