nicer height calculation

This commit is contained in:
Corwin 2024-04-09 02:32:36 +01:00
parent 9ad67ae494
commit 73d4346964
No known key found for this signature in database

View file

@ -28,7 +28,7 @@ const HelpLinks = styled.div`
`; `;
const GameDisplay = styled.div` const GameDisplay = styled.div`
height: min(calc(100vw / 1.5), 40vh); height: min(calc(100vw / 1.5), min(90vh, 480px));
max-width: 100vw; max-width: 100vw;
margin-top: 20px; margin-top: 20px;
overflow: hidden; overflow: hidden;