mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 14:50:00 -07:00
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:
@@ -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)';
|
||||
|
||||
Reference in New Issue
Block a user