Fix Morse mode button styling to match standard UI patterns

Use run-btn/stop-btn classes and bottom placement instead of
btn-primary/btn-danger in a flex section, and preset-btn class
for band presets. Aligns with all other mode panels.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Smittix
2026-02-25 21:18:35 +00:00
parent ecdc060d81
commit a50f77629c
2 changed files with 13 additions and 22 deletions

View File

@@ -347,8 +347,8 @@ var MorseMode = (function () {
var indicator = document.getElementById('morseStatusIndicator');
var statusText = document.getElementById('morseStatusText');
if (startBtn) startBtn.style.display = running ? 'none' : 'block';
if (stopBtn) stopBtn.style.display = running ? 'block' : 'none';
if (startBtn) startBtn.style.display = running ? 'none' : '';
if (stopBtn) stopBtn.style.display = running ? '' : 'none';
if (indicator) {
indicator.style.background = running ? '#00ff88' : 'var(--text-dim)';