fix: Panel height should be 100% when casted (#1750)
This commit is contained in:
+8
-2
@@ -39,10 +39,16 @@ frigate-card-loading {
|
||||
:host([dark]) {
|
||||
filter: brightness(75%);
|
||||
}
|
||||
:host([panel]) {
|
||||
// Card always extends to the full height in panel mode
|
||||
:host([panel]:not([casted])) {
|
||||
// Card always extends to the full height in panel mode minus the header.
|
||||
height: calc(100vh - var(--header-height));
|
||||
}
|
||||
:host([panel][casted]) {
|
||||
// Card always extends to the full height in panel mode when casting (there is
|
||||
// no header).
|
||||
// See: https://github.com/dermotduffy/frigate-hass-card/issues/1746
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
div.main {
|
||||
position: relative;
|
||||
|
||||
Reference in New Issue
Block a user