From ab4745c70a923b82cd9e8f2691da2c88259fcad9 Mon Sep 17 00:00:00 2001 From: James Smith Date: Sun, 29 Mar 2026 15:29:07 +0100 Subject: [PATCH] fix(bluetooth): update filter container ID to btFilterGroup, document sticky offset --- static/css/index.css | 1 + static/js/modes/bluetooth.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/static/css/index.css b/static/css/index.css index 4f3ee31..13c0e01 100644 --- a/static/css/index.css +++ b/static/css/index.css @@ -4983,6 +4983,7 @@ header h1 .tagline { background: var(--bg-primary); flex-shrink: 0; position: sticky; + /* 44px = height of the sticky .wifi-device-list-header above this row */ top: 44px; z-index: 3; } diff --git a/static/js/modes/bluetooth.js b/static/js/modes/bluetooth.js index da54180..c5dc077 100644 --- a/static/js/modes/bluetooth.js +++ b/static/js/modes/bluetooth.js @@ -129,7 +129,7 @@ const BluetoothMode = (function() { */ function initDeviceFilters() { if (filterListenersBound) return; - const filterContainer = document.getElementById('btDeviceFilters'); + const filterContainer = document.getElementById('btFilterGroup'); if (filterContainer) { filterContainer.addEventListener('click', (e) => { const btn = e.target.closest('.bt-filter-btn');