add button to go back to start if render fails

This commit is contained in:
Viktor Rådberg
2023-09-18 22:18:00 +02:00
parent 864fe64bdf
commit 4302c1a7e8
3 changed files with 14 additions and 8 deletions

View File

@@ -28,14 +28,6 @@ export const GridItemContainer = styled.div<{
grid-area: ${(props) => props.$gridArea};
`;
export const SettingsButtonContainer = styled.div`
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 9;
`;
type CountersProps = {
players: Player[];
onPlayerChange: (updatedPlayer: Player) => void;

View File

@@ -4,6 +4,8 @@ import { Player } from '../../Types/Player';
import { WakeLock } from '../../Types/WakeLock';
const MainWrapper = styled.div`
width: 100vmax;
height: 100vmin;
width: 100dvmax;
height: 100dvmin;
overflow: hidden;