From 40c9292e165f903c88de32417933e79c7e8224f9 Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Thu, 1 Jun 2023 11:35:42 +0200 Subject: [PATCH] Improve padding on integration logo (#16711) --- .../config/integrations/ha-config-integration-page.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/panels/config/integrations/ha-config-integration-page.ts b/src/panels/config/integrations/ha-config-integration-page.ts index e143d4c7f5..a374ef0fa5 100644 --- a/src/panels/config/integrations/ha-config-integration-page.ts +++ b/src/panels/config/integrations/ha-config-integration-page.ts @@ -415,7 +415,7 @@ class HaConfigIntegrationPage extends SubscribeMixin(LitElement) { )} ${configEntries.length === 0 - ? html`
+ ? html`
${this.hass.localize( `ui.panel.config.integrations.integration_page.no_entries` )} @@ -1168,7 +1168,7 @@ class HaConfigIntegrationPage extends SubscribeMixin(LitElement) { .card-header { padding-bottom: 0; } - .card-content { + .no-entries { padding-top: 12px; } .logo-container { @@ -1185,6 +1185,9 @@ class HaConfigIntegrationPage extends SubscribeMixin(LitElement) { display: block; margin-top: 4px; } + ha-alert:first-of-type { + margin-top: 16px; + } ha-list-item.discovered { --mdc-list-item-meta-size: auto; --mdc-list-item-meta-display: flex;