From 7763e2040ecc4006b60966c11aec4a7bbc7d5e83 Mon Sep 17 00:00:00 2001 From: Ethan O'Brien Date: Tue, 30 Jul 2024 12:24:01 -0500 Subject: [PATCH] Fix mobile styling --- data/src/emulator.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/src/emulator.js b/data/src/emulator.js index 0141ea2..f12e3e0 100644 --- a/data/src/emulator.js +++ b/data/src/emulator.js @@ -607,11 +607,13 @@ class EmulatorJS { console.log(message); this.textElem.innerText = message; this.textElem.style.color = "red"; + this.textElem.style.bottom = "10%"; this.setupSettingsMenu(); this.loadSettings(); this.menu.failedToStart(); + this.handleResize(); } downloadGameCore() { this.textElem.innerText = this.localization("Download Game Core"); @@ -2095,7 +2097,6 @@ class EmulatorJS { volumeSlider.style.display = "none"; this.elements.menu.style.opacity = ""; - this.elements.menu.style.background = "none"; this.menu.open(true); } }