fix: Panel mode cards with "Kiosk Mode" should fill the screen (#1838)

* Closes #1762
This commit is contained in:
Dermot Duffy
2025-01-18 19:06:09 -08:00
committed by GitHub
parent 4f76e6a18a
commit 99fe613811
+6 -1
View File
@@ -43,7 +43,12 @@ frigate-card-loading {
}
:host([panel]:not([casted])) {
// Card always extends to the full height in panel mode minus the header.
height: calc(100vh - var(--header-height));
//
// If the "Kiosk Mode" (https://github.com/maykar/kiosk-mode) plugin is
// installed, the --kiosk-header-height variable will be authoritative
// instead.
// See: https://github.com/dermotduffy/frigate-hass-card/issues/1762
height: calc(100vh - var(--kiosk-header-height, var(--header-height)));
}
:host([panel][casted]) {
// Card always extends to the full height in panel mode when casting (there is