Overflow fix (#23652)

This commit is contained in:
Yosi Levy 2025-01-15 09:52:20 +02:00 committed by GitHub
parent 1043db29be
commit 52d8e98cdb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 32 additions and 20 deletions

View File

@ -615,6 +615,12 @@ class HaPanelHistory extends LitElement {
return [ return [
haStyle, haStyle,
css` css`
ha-top-app-bar-fixed {
height: 100vh;
overflow-x: hidden;
overflow-y: visible;
}
.content { .content {
padding: 0 16px 16px; padding: 0 16px 16px;
padding-bottom: max(env(safe-area-inset-bottom), 16px); padding-bottom: max(env(safe-area-inset-bottom), 16px);

View File

@ -87,6 +87,7 @@ export class HaPanelLogbook extends LitElement {
.label=${this.hass!.localize("ui.common.refresh")} .label=${this.hass!.localize("ui.common.refresh")}
></ha-icon-button> ></ha-icon-button>
<div class="content">
<div class="filters"> <div class="filters">
<ha-date-range-picker <ha-date-range-picker
.hass=${this.hass} .hass=${this.hass}
@ -110,6 +111,7 @@ export class HaPanelLogbook extends LitElement {
.entityIds=${this._getEntityIds()} .entityIds=${this._getEntityIds()}
virtualize virtualize
></ha-logbook> ></ha-logbook>
</div>
</ha-top-app-bar-fixed> </ha-top-app-bar-fixed>
`; `;
} }
@ -319,6 +321,10 @@ export class HaPanelLogbook extends LitElement {
margin-bottom: 8px; margin-bottom: 8px;
} }
.content {
overflow: hidden;
}
.filters { .filters {
display: flex; display: flex;
padding: 16px 16px 0; padding: 16px 16px 0;