We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d930de9 commit a64bb02Copy full SHA for a64bb02
1 file changed
index.html
@@ -52,7 +52,29 @@
52
display: block;
53
touch-action: none;
54
}
55
+
56
+ /* --------------------------------------------- */
57
+ /* 📱 MOBILE VERSION — scoreboard moves BELOW */
58
59
+ @media (max-width: 700px) {
60
+ #gameContainer {
61
+ flex-direction: column; /* stack vertically */
62
+ align-items: center; /* center everything */
63
+ }
64
65
+ #leftPanel {
66
+ width: 100%;
67
+ max-width: 400px;
68
+ order: 2; /* scoreboard goes BELOW the board */
69
+ text-align: center;
70
71
72
+ #gameWrapper {
73
+ order: 1; /* board goes ABOVE the scoreboard */
74
75
+ max-width: 90vw; /* scale nicely on phones */
76
77
78
</style>
79
</head>
80
<body>
0 commit comments