mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 11:46:42 +00:00
Add padding to no logbook message (#5477)
This commit is contained in:
parent
e673d90b3f
commit
7b97ac2f6f
@ -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")}
|
||||
<div class="container">
|
||||
${this.hass.localize("ui.panel.logbook.entries_not_found")}
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
||||
return html`
|
||||
<div>
|
||||
<div class="container">
|
||||
${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 > * {
|
||||
|
Loading…
x
Reference in New Issue
Block a user