mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 03:36:44 +00:00
Remove srcset from brands (#5517)
This commit is contained in:
parent
4f81085d0f
commit
ed54a185e4
@ -88,9 +88,6 @@ class StepFlowPickHandler extends LitElement {
|
|||||||
slot="item-icon"
|
slot="item-icon"
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
src="https://brands.home-assistant.io/_/${handler.slug}/icon.png"
|
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"
|
referrerpolicy="no-referrer"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
@ -213,11 +213,6 @@ export class HaConfigDevicePage extends LitElement {
|
|||||||
src="https://brands.home-assistant.io/${
|
src="https://brands.home-assistant.io/${
|
||||||
integrations[0]
|
integrations[0]
|
||||||
}/logo.png"
|
}/logo.png"
|
||||||
srcset="
|
|
||||||
https://brands.home-assistant.io/${
|
|
||||||
integrations[0]
|
|
||||||
}/logo@2x.png 2x
|
|
||||||
"
|
|
||||||
referrerpolicy="no-referrer"
|
referrerpolicy="no-referrer"
|
||||||
@load=${this._onImageLoad}
|
@load=${this._onImageLoad}
|
||||||
@error=${this._onImageError}
|
@error=${this._onImageError}
|
||||||
|
@ -203,9 +203,6 @@ export class HaConfigManagerDashboard extends LitElement {
|
|||||||
<paper-item data-index=${idx}>
|
<paper-item data-index=${idx}>
|
||||||
<img
|
<img
|
||||||
src="https://brands.home-assistant.io/${item.domain}/icon.png"
|
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"
|
referrerpolicy="no-referrer"
|
||||||
@error=${this._onImageError}
|
@error=${this._onImageError}
|
||||||
@load=${this._onImageLoad}
|
@load=${this._onImageLoad}
|
||||||
|
@ -34,9 +34,6 @@ class IntegrationsCard extends LitElement {
|
|||||||
<img
|
<img
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
src="https://brands.home-assistant.io/_/${domain}/icon.png"
|
src="https://brands.home-assistant.io/_/${domain}/icon.png"
|
||||||
srcset="
|
|
||||||
https://brands.home-assistant.io/_/${domain}/icon@2x.png 2x
|
|
||||||
"
|
|
||||||
referrerpolicy="no-referrer"
|
referrerpolicy="no-referrer"
|
||||||
/>
|
/>
|
||||||
</td>
|
</td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user