fix: allow horizontal scroll on desktop for large grids
This commit is contained in:
@@ -258,7 +258,7 @@ watch(() => store.size, async () => {
|
|||||||
/* Desktop: Remove scroll behavior to ensure full grid visibility */
|
/* Desktop: Remove scroll behavior to ensure full grid visibility */
|
||||||
@media (min-width: 769px) {
|
@media (min-width: 769px) {
|
||||||
.game-board-wrapper {
|
.game-board-wrapper {
|
||||||
overflow-x: visible;
|
overflow-x: auto; /* Allow scrolling if grid is too large (e.g. 80x80) */
|
||||||
align-items: center; /* Center the grid on desktop */
|
align-items: center; /* Center the grid on desktop */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user