diff --git a/static/css/modes/sstv.css b/static/css/modes/sstv.css index 9102b6d..4d35a00 100644 --- a/static/css/modes/sstv.css +++ b/static/css/modes/sstv.css @@ -20,6 +20,7 @@ padding: 16px; min-height: 0; flex: 1; + height: 100%; overflow: hidden; } @@ -30,8 +31,9 @@ display: flex; flex-direction: row; gap: 16px; - flex: 1; - min-height: 0; + flex: 1 1 auto; + min-height: 400px; + height: 100%; overflow: hidden; } diff --git a/static/js/core/settings-manager.js b/static/js/core/settings-manager.js index b67c834..e459f3f 100644 --- a/static/js/core/settings-manager.js +++ b/static/js/core/settings-manager.js @@ -570,7 +570,7 @@ function loadObserverLocation() { /** * Detect location using browser GPS */ -function detectLocationGPS() { +function detectLocationGPS(btn) { const latInput = document.getElementById('observerLatInput'); const lonInput = document.getElementById('observerLonInput'); @@ -584,7 +584,6 @@ function detectLocationGPS() { } // Show loading state - const btn = event.target.closest('button'); const originalText = btn.innerHTML; btn.innerHTML = 'Detecting...'; btn.disabled = true; diff --git a/templates/index.html b/templates/index.html index 9b782a4..2fbbdde 100644 --- a/templates/index.html +++ b/templates/index.html @@ -2584,7 +2584,7 @@ // Hide output console for modes with their own visualizations const outputEl = document.getElementById('output'); const statusBar = document.querySelector('.status-bar'); - if (outputEl) outputEl.style.display = (mode === 'satellite' || mode === 'aprs' || mode === 'wifi' || mode === 'bluetooth' || mode === 'listening' || mode === 'tscm' || mode === 'spystations' || mode === 'meshtastic') ? 'none' : 'block'; + if (outputEl) outputEl.style.display = (mode === 'satellite' || mode === 'sstv' || mode === 'aprs' || mode === 'wifi' || mode === 'bluetooth' || mode === 'listening' || mode === 'tscm' || mode === 'spystations' || mode === 'meshtastic') ? 'none' : 'block'; if (statusBar) statusBar.style.display = (mode === 'satellite') ? 'none' : 'flex'; // Restore sidebar when leaving Meshtastic mode (user may have collapsed it) diff --git a/templates/partials/settings-modal.html b/templates/partials/settings-modal.html index 5692f80..1fe7b6b 100644 --- a/templates/partials/settings-modal.html +++ b/templates/partials/settings-modal.html @@ -149,7 +149,7 @@