From 38e4cb8e8c14b8b5a64a0d69af39de08a11d05a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20R=C3=A5dberg?= Date: Sat, 13 Jan 2024 15:02:33 +0100 Subject: [PATCH] dvh --- src/Components/LifeTrinket.tsx | 2 +- src/Components/Views/Play.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Components/LifeTrinket.tsx b/src/Components/LifeTrinket.tsx index 80ad635..85ab980 100644 --- a/src/Components/LifeTrinket.tsx +++ b/src/Components/LifeTrinket.tsx @@ -10,7 +10,7 @@ const PlayWrapper = twc.div`relative z-0 max-w-fit max-h-fit portrait:rotate-90` const EmergencyResetButton = () => { const { goToStart } = useGlobalSettings(); - const EmergencyResetButton = twc.button`w-[100vmax] h-[100vmin] absolute top-0 z-[-1] bg-background-default`; + const EmergencyResetButton = twc.button`w-[100dvmax] h-[100dvmin] absolute top-0 z-[-1] bg-background-default`; const Paragraph = twc.p`text-[4vmax] text-text-secondary`; return ( diff --git a/src/Components/Views/Play.tsx b/src/Components/Views/Play.tsx index 81de3be..c52dc2a 100644 --- a/src/Components/Views/Play.tsx +++ b/src/Components/Views/Play.tsx @@ -4,7 +4,7 @@ import { Orientation } from '../../Types/Settings'; import { Player } from '../Player/Player'; import { twc } from 'react-twc'; -const MainWrapper = twc.div`w-[100vmax] h-[100vmin] w-[100dvmax] h-[100dvmin] overflow-hidden`; +const MainWrapper = twc.div`w-[100dvmax] h-[100dvmin] overflow-hidden`; export const Play = () => { const { players } = usePlayers();