fix some scaling

This commit is contained in:
Viktor Rådberg
2023-09-01 18:40:13 +02:00
parent 3d036e6026
commit e9a1eec73b
3 changed files with 11 additions and 9 deletions

View File

@@ -34,8 +34,9 @@ const CloseButton = styled.div<{
rotation: Rotation;
}>`
position: absolute;
top: 5%;
top: 15%;
right: 5%;
z-index: 9999;
border: none;
outline: none;
cursor: pointer;
@@ -77,6 +78,7 @@ const PlayerMenu = ({
resetCurrentGame,
}: PlayerMenuProps) => {
const handleOnClick = () => {
console.log('hej');
setShowPlayerMenu(false);
};