Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/panels/lovelace/hui-root.ts
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,8 @@ class HUIRoot extends LitElement {
color: var(--error-color);
}
#view {
min-height: calc(100vh - var(--header-height));
/** -8 to account for the gap between content and app header */
min-height: calc(100vh - var(--header-height) - 8);
/**
* Since we only set min-height, if child nodes need percentage
* heights they must use absolute positioning so we need relative
Expand Down
2 changes: 2 additions & 0 deletions src/panels/lovelace/views/hui-panel-view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ export class PanelView extends LitElement implements LovelaceViewElement {
:host {
display: block;
height: 100%;
/** Ensure gap between content and app header for visual separation */
margin-top: 8px;
}

mwc-fab {
Expand Down