From 1740cfe61ccf21c4d65e11c8d8848386b066ea21 Mon Sep 17 00:00:00 2001 From: threememories Date: Thu, 7 May 2026 21:07:59 +0000 Subject: [PATCH] Upload files to "/" --- index.html | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index 5ebd6fb..f3069e8 100644 --- a/index.html +++ b/index.html @@ -1331,19 +1331,16 @@ padding-top: 5px; } + /* HIDE TURBO CONTAINER COMPLETELY ON MOBILE */ .turbo-container { - padding: 2px; - margin-top: 4px; - } - - .turbo-container label { - font-size: 9px; + display: none !important; } .pip-nav span { cursor: pointer; } + /* Make all tabs clickable */ /* New Rules for Inventory */ @@ -5242,10 +5239,17 @@ Gamestate.renderInventory = function () { document.body.classList.remove('turbo-active'); } }); + + // --- NEW: FORCE TURBO ON FOR MOBILE --- + if (window.innerWidth <= 950) { + turboToggleBtn.checked = true; + document.body.classList.add('turbo-active'); + } } document.getElementById('view-cards-btn')?.addEventListener('click', () => { + if (this.wastelandEconomyActive) { this.showRecruitmentModal(); } else { @@ -7535,6 +7539,13 @@ Gamestate.restart = function () { countryEl.innerHTML = countryHtml; + + // --- NEW: HIDE AI FACTION NAME ON MOBILE --- + if (window.innerWidth <= 950 && !player.isPlayer) { + countryEl.style.display = "none"; + } else { + countryEl.style.display = "block"; + } }