Adjust padding for "No items" in media browser (#11397)

This commit is contained in:
Philip Allgaier 2022-01-22 02:51:03 +01:00 committed by GitHub
parent 049c3caadd
commit 971fd8dc60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -340,7 +340,7 @@ export class HaMediaPlayerBrowse extends LitElement {
</mwc-list>
`
: html`
<div class="container">
<div class="container no-items">
${this.hass.localize("ui.components.media-browser.no_items")}
<br />
${currentItem.media_content_id ===
@ -696,6 +696,10 @@ export class HaMediaPlayerBrowse extends LitElement {
padding: 16px;
}
.no-items {
padding-left: 32px;
}
.content {
overflow-y: auto;
padding-bottom: 20px;