fix: SSTV location settings and panel sizing

- Fix GPS button not working (pass button element to handler)
- Hide output element in SSTV mode to allow panels to fill space
- Add explicit height rules for SSTV panels to expand vertically

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Smittix
2026-01-29 16:03:41 +00:00
parent 0c7ac816e9
commit 18ef6218d8
4 changed files with 7 additions and 6 deletions

View File

@@ -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 = '<span style="opacity: 0.7;">Detecting...</span>';
btn.disabled = true;