mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-21 16:26:43 +00:00
Overflow fix (#23652)
This commit is contained in:
parent
1043db29be
commit
52d8e98cdb
@ -615,6 +615,12 @@ class HaPanelHistory extends LitElement {
|
||||
return [
|
||||
haStyle,
|
||||
css`
|
||||
ha-top-app-bar-fixed {
|
||||
height: 100vh;
|
||||
overflow-x: hidden;
|
||||
overflow-y: visible;
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: 0 16px 16px;
|
||||
padding-bottom: max(env(safe-area-inset-bottom), 16px);
|
||||
|
@ -87,29 +87,31 @@ export class HaPanelLogbook extends LitElement {
|
||||
.label=${this.hass!.localize("ui.common.refresh")}
|
||||
></ha-icon-button>
|
||||
|
||||
<div class="filters">
|
||||
<ha-date-range-picker
|
||||
.hass=${this.hass}
|
||||
.startDate=${this._time.range[0]}
|
||||
.endDate=${this._time.range[1]}
|
||||
@change=${this._dateRangeChanged}
|
||||
></ha-date-range-picker>
|
||||
<div class="content">
|
||||
<div class="filters">
|
||||
<ha-date-range-picker
|
||||
.hass=${this.hass}
|
||||
.startDate=${this._time.range[0]}
|
||||
.endDate=${this._time.range[1]}
|
||||
@change=${this._dateRangeChanged}
|
||||
></ha-date-range-picker>
|
||||
|
||||
<ha-target-picker
|
||||
<ha-target-picker
|
||||
.hass=${this.hass}
|
||||
.entityFilter=${filterLogbookCompatibleEntities}
|
||||
.value=${this._targetPickerValue}
|
||||
add-on-top
|
||||
@value-changed=${this._targetsChanged}
|
||||
></ha-target-picker>
|
||||
</div>
|
||||
|
||||
<ha-logbook
|
||||
.hass=${this.hass}
|
||||
.entityFilter=${filterLogbookCompatibleEntities}
|
||||
.value=${this._targetPickerValue}
|
||||
add-on-top
|
||||
@value-changed=${this._targetsChanged}
|
||||
></ha-target-picker>
|
||||
.time=${this._time}
|
||||
.entityIds=${this._getEntityIds()}
|
||||
virtualize
|
||||
></ha-logbook>
|
||||
</div>
|
||||
|
||||
<ha-logbook
|
||||
.hass=${this.hass}
|
||||
.time=${this._time}
|
||||
.entityIds=${this._getEntityIds()}
|
||||
virtualize
|
||||
></ha-logbook>
|
||||
</ha-top-app-bar-fixed>
|
||||
`;
|
||||
}
|
||||
@ -319,6 +321,10 @@ export class HaPanelLogbook extends LitElement {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.content {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.filters {
|
||||
display: flex;
|
||||
padding: 16px 16px 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user