fix emergency button

This commit is contained in:
Viktor Rådberg
2023-09-18 22:31:59 +02:00
parent 4302c1a7e8
commit f61d94ad3b

View File

@@ -42,10 +42,13 @@ const removeLocalStorage = async () => {
}; };
const EmergencyResetButton = styled.button` const EmergencyResetButton = styled.button`
width: 100vmax;
height: 100vmin;
font-size: 4vmax;
position: absolute; position: absolute;
right: 0; top: 0;
bottom: 0;
z-index: -1; z-index: -1;
background-color: #4e6815;
`; `;
const App = () => { const App = () => {
@@ -115,7 +118,10 @@ const App = () => {
wakeLock={wakeLock} wakeLock={wakeLock}
/> />
<EmergencyResetButton onClick={goToStart}> <EmergencyResetButton onClick={goToStart}>
Go To Start <p>If you can see this, something is wrong.</p>
<p>Press screen to go to start.</p>
<br />
<p>If the issue persists, please inform me.</p>
</EmergencyResetButton> </EmergencyResetButton>
</PlayWrapper> </PlayWrapper>
) : ( ) : (