diff --git a/src/panels/logbook/ha-logbook.ts b/src/panels/logbook/ha-logbook.ts
index 91a2890b54..2b93bff16b 100644
--- a/src/panels/logbook/ha-logbook.ts
+++ b/src/panels/logbook/ha-logbook.ts
@@ -39,12 +39,14 @@ class HaLogbook extends LitElement {
protected render(): TemplateResult {
if (!this.entries?.length) {
return html`
- ${this.hass.localize("ui.panel.logbook.entries_not_found")}
+
+ ${this.hass.localize("ui.panel.logbook.entries_not_found")}
+
`;
}
return html`
-
+
${scroll({
items: this.entries,
renderItem: (item: LogbookEntry, index?: number) =>
@@ -154,13 +156,16 @@ class HaLogbook extends LitElement {
color: var(--primary-color);
}
+ .container {
+ padding: 0 16px;
+ }
+
.uni-virtualizer-host {
display: block;
position: relative;
contain: strict;
height: 100%;
overflow: auto;
- padding: 0 16px;
}
.uni-virtualizer-host > * {