Add padding when no updates (#12575)

This commit is contained in:
Zack Barett 2022-05-04 04:59:24 -05:00 committed by GitHub
parent aaef6d7b91
commit 7e60de0531
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}
`; `;
} }