fix(bluetooth): add transform-box to radar sweep for Firefox, remove dead radar-sweep rule

This commit is contained in:
James Smith
2026-03-29 21:34:35 +01:00
parent 71e5599300
commit 5b9d81e3a8
2 changed files with 2 additions and 5 deletions

View File

@@ -41,10 +41,6 @@
}
}
.radar-sweep {
transform-origin: 50% 50%;
}
/* Radar filter buttons */
.bt-radar-filter-btn {
transition: all 0.2s ease;

View File

@@ -4410,7 +4410,8 @@ header h1 .tagline {
/* Bluetooth radar — CSS sweep animation (replaces rAF loop in proximity-radar.js) */
.bt-radar-sweep {
transform-origin: 140px 140px;
transform-box: view-box; /* required for consistent SVG transform-origin in Firefox */
transform-origin: 140px 140px; /* CONFIG.size / 2 = 140 */
animation: bt-radar-rotate 3s linear infinite;
}