diff --git a/my-app/src/App.tsx b/my-app/src/App.tsx index c58b2fd..566724a 100644 --- a/my-app/src/App.tsx +++ b/my-app/src/App.tsx @@ -8,16 +8,40 @@ const MainWrapper = styled.div` width: 100dvw; height: 100dvh; overflow: hidden; + min-width: 254px; `; +const FullScreenButtonContainer = styled.div` + height: 80px; + width: 80vw; + margin: auto; + position: relative; +` + const FullscreenButton = styled.button` display: none; + @media (orientation: portrait) { + display: block; + height: 100%; + width: 100%; + } +`; + +const TitleText = styled.h1` + font-size: 2rem; + font-weight: 600; + margin: 0; + text-align: center; + user-select: none; + display: none; + padding: 5rem 1rem 2rem 1rem; @media (orientation: portrait) { display: block; } `; + const CountersWrapper = styled.div` display: flex; @media (orientation: portrait) { @@ -93,7 +117,17 @@ function App() { return ( - Toggle Fullscreen + + + You need to be in landscape mode to use this app. +
+ Pressing the fullscreen button is also very recommended. +
+ + Toggle Fullscreen + + +