From fe79ba5a60169585e6e766c0c05ba66f19bdcc92 Mon Sep 17 00:00:00 2001 From: AlecM33 Date: Sat, 31 Dec 2022 11:19:40 -0500 Subject: [PATCH] fix end game/restart prompt for desktop screens --- client/src/styles/GLOBAL.css | 1 - client/src/styles/game.css | 7 +++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/client/src/styles/GLOBAL.css b/client/src/styles/GLOBAL.css index 67818d5..4e82545 100644 --- a/client/src/styles/GLOBAL.css +++ b/client/src/styles/GLOBAL.css @@ -28,7 +28,6 @@ body { flex-direction: column; align-items: flex-start; margin: 0 auto; - position: relative; background-color: #0f0f10; } diff --git a/client/src/styles/game.css b/client/src/styles/game.css index 6e0f04d..8cd59b5 100644 --- a/client/src/styles/game.css +++ b/client/src/styles/game.css @@ -452,11 +452,11 @@ label[for='moderator'] { flex-direction: column; align-items: center; justify-content: space-evenly; - position: fixed; + position: absolute; z-index: 3; font-family: 'signika-negative', sans-serif; font-weight: 100; - box-shadow: 0 -6px 15px rgba(0, 0, 0, 0.5); + box-shadow: 0 -6px 15px rgb(0 0 0 / 50%); bottom: 0; border-radius: 5px; /* width: fit-content; */ @@ -465,8 +465,7 @@ label[for='moderator'] { margin: 0 auto; max-width: 100%; background-color: #1b1a24; - transform: translateZ(0); - -webkit-transform: translateZ(0); + width: 100%; } #game-control-prompt {