Embed: bare=1 is really transparent

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Mitchell-Johnson
2026-09-19 07:40:36 -07:00
co-authored by Claude Fable 5.1
parent b05a053920
commit f01175ceca
+1
View File
@@ -9,6 +9,7 @@ import { applyTheme } from './themes'
const p = new URLSearchParams(location.search)
if (p.get('theme')) applyTheme(p.get('theme')!)
if (p.get('bare') === '1') document.body.style.background = 'transparent' // sit on the host dashboard's own card
export default function Embed() {
const sensor = p.get('sensor') ?? ''