From 1c79b6300f3396ce939f2de8ced8b162e544202e Mon Sep 17 00:00:00 2001 From: James Ketrenos Date: Sat, 26 Feb 2022 15:44:44 -0800 Subject: [PATCH] Revert "Switch board.css to use rem instead of em" This reverts commit 001b26825d894e34e42a710c6e28fdc68170eefa. --- client/src/Board.css | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/client/src/Board.css b/client/src/Board.css index 7bf6b46..d4e705f 100644 --- a/client/src/Board.css +++ b/client/src/Board.css @@ -38,8 +38,8 @@ z-index: 50; /* Above Tile (5,10), Road (12), Corner (20) */ position: absolute; background-size: 600% auto; /* pip-numbers is a 6x6 grid of pip images */ - width: 2rem; - height: 2rem; + width: 2em; + height: 2em; transform: translate(-50%, -50%); } @@ -82,8 +82,8 @@ align-items: center; justify-items: center; box-sizing: border-box; - width: 1.5rem; - height: 1.5rem; + width: 1.5em; + height: 1.5em; transform: translate(-50%, -50%); pointer-events: none; } @@ -113,8 +113,8 @@ justify-items: center; box-sizing: border-box; transform-origin: 50% 0; - width: 0.5rem; - height: 2.5rem; + width: 0.5em; + height: 2.5em; z-index: 11; /* Above Tile, below Corner */ pointer-events: none; } @@ -163,8 +163,8 @@ } .Robber .Pip-Shape { - top: -2rem; - left: -2rem; + top: -2em; + left: -2em; clip-path: circle(50%); transform: scale(0.45); background-color:#e7c099;