Remove Baseline section, fix filters and radar layout

- Removed Baseline section from Bluetooth sidebar (no longer needed)
- Fixed device filter buttons not working (changed display to '' instead
  of 'block' to preserve flexbox layout)
- Fixed proximity radar being cut off by bottom panels:
  - Added overflow: hidden to radar panel
  - Constrained bottom panels to max-height: 120px
  - Made radar content respect parent boundaries

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Smittix
2026-01-21 20:15:47 +00:00
parent 85159cbc44
commit 226f08f62d
3 changed files with 12 additions and 16 deletions

View File

@@ -3280,17 +3280,28 @@ header h1 .tagline {
.bt-radar-panel {
flex: 1;
min-height: 0;
overflow: hidden;
display: flex;
flex-direction: column;
}
.bt-radar-panel #btProximityRadar {
flex: 1;
min-height: 0;
overflow: hidden;
}
.bt-bottom-panels {
display: flex;
gap: 12px;
flex-shrink: 0;
max-height: 120px;
}
.bt-compact-panel {
flex: 1;
min-width: 0;
overflow: hidden;
}
/* Bluetooth Device Detail Panel */

View File

@@ -126,7 +126,7 @@ const BluetoothMode = (function() {
visible = true;
}
card.style.display = visible ? 'block' : 'none';
card.style.display = visible ? '' : 'none';
});
// Update visible count

View File

@@ -43,21 +43,6 @@
</button>
</div>
<div class="section">
<h3>Baseline</h3>
<div class="info-text" id="btBaselineStatus" style="margin-bottom: 8px;">
No baseline set
</div>
<div style="display: flex; gap: 8px;">
<button class="preset-btn" onclick="btSetBaseline()" style="flex: 1;">
Set Baseline
</button>
<button class="preset-btn" onclick="btClearBaseline()" style="flex: 1;">
Clear
</button>
</div>
</div>
<!-- Message Container for status cards -->
<div id="btMessageContainer"></div>