diff --git a/index.html b/index.html index ff5d839..55b5aac 100644 --- a/index.html +++ b/index.html @@ -3,6 +3,7 @@ Neon Synthwave Snake Evolution Simulator + diff --git a/script.js b/script.js index b802e71..51577d1 100644 --- a/script.js +++ b/script.js @@ -124,7 +124,7 @@ function getRandomNeonColor() { let isMobileLayout = null; function updateLayout() { const width = window.innerWidth; - const newIsMobile = (width < 768); + const newIsMobile = (width < 1000); if (newIsMobile === isMobileLayout) return; isMobileLayout = newIsMobile; diff --git a/styles.css b/styles.css index 110bce6..6394b2a 100644 --- a/styles.css +++ b/styles.css @@ -282,7 +282,7 @@ canvas { } /* Mobile-friendly adjustments */ -@media (max-width: 768px) { +@media (max-width: 1000px) { .control-panel { width: 90%; bottom: 20px;