mirror of
https://github.com/smittix/intercept.git
synced 2026-07-14 20:48:11 -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 {
|
.bt-radar-panel {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
|
overflow: hidden;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bt-radar-panel #btProximityRadar {
|
||||||
|
flex: 1;
|
||||||
|
min-height: 0;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bt-bottom-panels {
|
.bt-bottom-panels {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 12px;
|
gap: 12px;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
max-height: 120px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bt-compact-panel {
|
.bt-compact-panel {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Bluetooth Device Detail Panel */
|
/* Bluetooth Device Detail Panel */
|
||||||
|
|||||||
@@ -126,7 +126,7 @@ const BluetoothMode = (function() {
|
|||||||
visible = true;
|
visible = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
card.style.display = visible ? 'block' : 'none';
|
card.style.display = visible ? '' : 'none';
|
||||||
});
|
});
|
||||||
|
|
||||||
// Update visible count
|
// Update visible count
|
||||||
|
|||||||
@@ -43,21 +43,6 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</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 -->
|
<!-- Message Container for status cards -->
|
||||||
<div id="btMessageContainer"></div>
|
<div id="btMessageContainer"></div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user