mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 08:11:33 +11:00
nicer height calculation
This commit is contained in:
parent
9ad67ae494
commit
73d4346964
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue