Remove srcset from brands (#5517)

This commit is contained in:
Paulus Schoutsen 2020-04-15 07:00:16 -07:00 committed by GitHub
parent 4f81085d0f
commit ed54a185e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1 additions and 15 deletions

View File

@ -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"
/>

View File

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

View File

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

View File

@ -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>