Upload files to "/"

This commit is contained in:
threememories 2026-05-07 21:07:59 +00:00
parent 9d40ce3346
commit 1740cfe61c
1 changed files with 17 additions and 6 deletions

View File

@ -1331,19 +1331,16 @@
padding-top: 5px; padding-top: 5px;
} }
/* HIDE TURBO CONTAINER COMPLETELY ON MOBILE */
.turbo-container { .turbo-container {
padding: 2px; display: none !important;
margin-top: 4px;
}
.turbo-container label {
font-size: 9px;
} }
.pip-nav span { .pip-nav span {
cursor: pointer; cursor: pointer;
} }
/* Make all tabs clickable */ /* Make all tabs clickable */
/* New Rules for Inventory */ /* New Rules for Inventory */
@ -5242,10 +5239,17 @@ Gamestate.renderInventory = function () {
document.body.classList.remove('turbo-active'); 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', () => { document.getElementById('view-cards-btn')?.addEventListener('click', () => {
if (this.wastelandEconomyActive) { if (this.wastelandEconomyActive) {
this.showRecruitmentModal(); this.showRecruitmentModal();
} else { } else {
@ -7535,6 +7539,13 @@ Gamestate.restart = function () {
countryEl.innerHTML = countryHtml; 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";
}
} }