mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 03:06:41 +00:00
Add padding when no updates (#12575)
This commit is contained in:
parent
aaef6d7b91
commit
7e60de0531
@ -109,7 +109,11 @@ class HaConfigSectionUpdates extends LitElement {
|
|||||||
></ha-config-updates>
|
></ha-config-updates>
|
||||||
`
|
`
|
||||||
: html`
|
: html`
|
||||||
${this.hass.localize("ui.panel.config.updates.no_updates")}
|
<div class="no-updates">
|
||||||
|
${this.hass.localize(
|
||||||
|
"ui.panel.config.updates.no_updates"
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
`}
|
`}
|
||||||
</div>
|
</div>
|
||||||
</ha-card>
|
</ha-card>
|
||||||
@ -198,6 +202,10 @@ class HaConfigSectionUpdates extends LitElement {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.no-updates {
|
||||||
|
padding: 16px;
|
||||||
|
}
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user