mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 06:40:00 -07:00
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:
@@ -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 */
|
||||
|
||||
@@ -126,7 +126,7 @@ const BluetoothMode = (function() {
|
||||
visible = true;
|
||||
}
|
||||
|
||||
card.style.display = visible ? 'block' : 'none';
|
||||
card.style.display = visible ? '' : 'none';
|
||||
});
|
||||
|
||||
// Update visible count
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user