Remove srcset from brands (#5517)

This commit is contained in:
Paulus Schoutsen
2020-04-15 16:00:16 +02:00
committed by GitHub
parent 4f81085d0f
commit ed54a185e4
4 changed files with 1 additions and 15 deletions
@@ -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"
/>
@@ -174,7 +174,7 @@ export class HaConfigDevicePage extends LitElement {
></paper-icon-button>
<div class="container">
<div class="header fullwidth">
<div class="header fullwidth">
${
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}
@@ -203,9 +203,6 @@ export class HaConfigManagerDashboard extends LitElement {
<paper-item data-index=${idx}>
<img
src="https://brands.home-assistant.io/${item.domain}/icon.png"
srcset="
https://brands.home-assistant.io/${item.domain}/icon@2x.png 2x
"
referrerpolicy="no-referrer"
@error=${this._onImageError}
@load=${this._onImageLoad}
@@ -34,9 +34,6 @@ class IntegrationsCard extends LitElement {
<img
loading="lazy"
src="https://brands.home-assistant.io/_/${domain}/icon.png"
srcset="
https://brands.home-assistant.io/_/${domain}/icon@2x.png 2x
"
referrerpolicy="no-referrer"
/>
</td>