mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 17:26:42 +00:00
Add padding when loading traces or none found (#8760)
This commit is contained in:
parent
6f07966ef8
commit
3888c56f1a
@ -161,9 +161,9 @@ export class HaAutomationTrace extends LitElement {
|
||||
</div>
|
||||
|
||||
${this._traces === undefined
|
||||
? "Loading…"
|
||||
? html`<div class="container">Loading…</div>`
|
||||
: this._traces.length === 0
|
||||
? "No traces found"
|
||||
? html`<div class="container">No traces found</div>`
|
||||
: this._trace === undefined
|
||||
? ""
|
||||
: html`
|
||||
@ -426,6 +426,10 @@ export class HaAutomationTrace extends LitElement {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.container {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.graph {
|
||||
border-right: 1px solid var(--divider-color);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user