From ed54a185e4393f4f456c30c5a29305c19302c270 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Wed, 15 Apr 2020 07:00:16 -0700 Subject: [PATCH] Remove srcset from brands (#5517) --- src/dialogs/config-flow/step-flow-pick-handler.ts | 3 --- src/panels/config/devices/ha-config-device-page.ts | 7 +------ .../config/integrations/ha-config-entries-dashboard.ts | 3 --- src/panels/developer-tools/info/integrations-card.ts | 3 --- 4 files changed, 1 insertion(+), 15 deletions(-) diff --git a/src/dialogs/config-flow/step-flow-pick-handler.ts b/src/dialogs/config-flow/step-flow-pick-handler.ts index b060069e31..c6bee2c316 100644 --- a/src/dialogs/config-flow/step-flow-pick-handler.ts +++ b/src/dialogs/config-flow/step-flow-pick-handler.ts @@ -88,9 +88,6 @@ class StepFlowPickHandler extends LitElement { slot="item-icon" loading="lazy" src="https://brands.home-assistant.io/_/${handler.slug}/icon.png" - srcset=" - https://brands.home-assistant.io/_/${handler.slug}/icon@2x.png 2x - " referrerpolicy="no-referrer" /> diff --git a/src/panels/config/devices/ha-config-device-page.ts b/src/panels/config/devices/ha-config-device-page.ts index bb2daabd0c..3b9688d930 100644 --- a/src/panels/config/devices/ha-config-device-page.ts +++ b/src/panels/config/devices/ha-config-device-page.ts @@ -174,7 +174,7 @@ export class HaConfigDevicePage extends LitElement { >
-
+
${ this.narrow ? "" @@ -213,11 +213,6 @@ export class HaConfigDevicePage extends LitElement { src="https://brands.home-assistant.io/${ integrations[0] }/logo.png" - srcset=" - https://brands.home-assistant.io/${ - integrations[0] - }/logo@2x.png 2x - " referrerpolicy="no-referrer" @load=${this._onImageLoad} @error=${this._onImageError} diff --git a/src/panels/config/integrations/ha-config-entries-dashboard.ts b/src/panels/config/integrations/ha-config-entries-dashboard.ts index 6873673dd2..2d1efda9c7 100644 --- a/src/panels/config/integrations/ha-config-entries-dashboard.ts +++ b/src/panels/config/integrations/ha-config-entries-dashboard.ts @@ -203,9 +203,6 @@ export class HaConfigManagerDashboard extends LitElement {