Upload files to "/"
This commit is contained in:
parent
9d40ce3346
commit
1740cfe61c
23
index.html
23
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";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue