mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 01:36:49 +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>
|
</div>
|
||||||
|
|
||||||
${this._traces === undefined
|
${this._traces === undefined
|
||||||
? "Loading…"
|
? html`<div class="container">Loading…</div>`
|
||||||
: this._traces.length === 0
|
: this._traces.length === 0
|
||||||
? "No traces found"
|
? html`<div class="container">No traces found</div>`
|
||||||
: this._trace === undefined
|
: this._trace === undefined
|
||||||
? ""
|
? ""
|
||||||
: html`
|
: html`
|
||||||
@ -426,6 +426,10 @@ export class HaAutomationTrace extends LitElement {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
padding: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
.graph {
|
.graph {
|
||||||
border-right: 1px solid var(--divider-color);
|
border-right: 1px solid var(--divider-color);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user