mirror of
https://github.com/home-assistant/frontend.git
synced 2026-09-13 12:10:54 +01:00
Fix loading spinner position for more info weather forecast (#52903)
This commit is contained in:
committed by
Bram Kragten
parent
7fcbd8e245
commit
67489affe7
@@ -459,7 +459,9 @@ class MoreInfoWeather extends LitElement {
|
||||
</div>
|
||||
`;
|
||||
})
|
||||
: html`<ha-spinner size="medium"></ha-spinner>`}
|
||||
: html`<div class="loading">
|
||||
<ha-spinner size="medium"></ha-spinner>
|
||||
</div>`}
|
||||
</div>
|
||||
`
|
||||
: nothing}
|
||||
@@ -702,7 +704,10 @@ class MoreInfoWeather extends LitElement {
|
||||
--mdc-icon-size: 40px;
|
||||
}
|
||||
|
||||
.forecast ha-spinner {
|
||||
.forecast .loading {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 120px;
|
||||
}
|
||||
`,
|
||||
|
||||
Reference in New Issue
Block a user