fix: Panel mode should exclude header height (#1738)

* fix: Panel mode should exclude header height

* Update docs to clarify aspect-ratio behavior in a panel
This commit is contained in:
Dermot Duffy
2024-12-11 20:42:05 -08:00
committed by GitHub
parent 47fdfbceeb
commit 1992db2144
2 changed files with 4 additions and 4 deletions
+2 -4
View File
@@ -40,10 +40,8 @@ frigate-card-loading {
filter: brightness(75%);
}
:host([panel]) {
// Card always extends to the full allowed height in panel mode (in non-panel
// mode this would cause the card to expand to the height of a column when
// there are multiple cards in the column).
height: 100%;
// Card always extends to the full height in panel mode
height: calc(100vh - var(--header-height));
}
div.main {