Skip to content
Source
Sign inSign up
samwillis/one-million-boxes
Open History to see the last commit

game.css

15 lines279 Bytes

1.game-layout {
2 display: flex;
3 flex-direction: column;
4 height: 100vh;
5 height: 100dvh; /* Dynamic viewport height for mobile */
6 overflow: hidden;
7}
8​
9.game-main {
10 flex: 1;
11 min-height: 0;
12 position: relative;
13 overflow: hidden;
14 background-color: var(--color-bg);