diff --git a/src/mobile-hud.js b/src/mobile-hud.js index 8e68c94..116632b 100644 --- a/src/mobile-hud.js +++ b/src/mobile-hud.js @@ -177,7 +177,7 @@ if (!isDesktopPointer.matches) { position: absolute; left: 50%; top: 46%; - width: 32%; + width: 24%; height: auto; object-fit: contain; transform: translate(-50%, -50%); @@ -501,7 +501,7 @@ if (!isDesktopPointer.matches) { const radarContacts = radarPiece.querySelector('#steam-radar-contacts'); const setHelmKnob = (x = 0, y = 0) => { - const maxOffset = Math.min(radarPiece.clientWidth * 0.20, 32); + const maxOffset = Math.min(radarPiece.clientWidth * 0.18, 28); const px = Math.max(-1, Math.min(1, x)) * maxOffset; const py = Math.max(-1, Math.min(1, y)) * maxOffset; helmKnob.style.transform = `translate(-50%, -50%) translate(${px}px, ${py}px)`;